getPSetGeneSigs: Read in all the gene signatures for a PharmacoSet and...

View source: R/getPSetGeneSigs.R

getPSetGeneSigsR Documentation

Read in all the gene signatures for a PharmacoSet and assemble into a single 'data.table'

Description

Read in all the gene signatures for a PharmacoSet and assemble into a single 'data.table'

Usage

getPSetGeneSigs(filePath, pattern, save = TRUE)

Arguments

filePath

['character'] Where to search for the 'pattern' argument to get the file paths for the PSet gene signatures.

pattern

['character'] Passed to 'list.files' to match all .rds files containing 'pattern'. This should usually be the PSet name as it will also be used as the file name if 'save' is 'TRUE'.

save

['logical'] Should the 'data.table' be saved to disk as a .csv file? Default is 'TRUE'.

Value

['data.table'] Optionally returns the gene signature data.table for the specified PSet


bhklab/rPharmacoDI documentation built on Oct. 31, 2022, 11:06 a.m.