mergePSetGeneSigsToDT: Merge the results data for a list of 'PharmacoSig' objects...

View source: R/convertGeneSignatureToDT.R

mergePSetGeneSigsToDTR Documentation

Merge the results data for a list of 'PharmacoSig' objects containing different gene signatures into a single, fully annotated long 'data.table' and optionally save to disk as a .csv file

Description

Merge the results data for a list of 'PharmacoSig' objects containing different gene signatures into a single, fully annotated long 'data.table' and optionally save to disk as a .csv file

Usage

mergePSetGeneSigsToDT(geneSigL, saveDir, fileName, BPPARAM = bpparam())

Arguments

geneSigL

['list'] of 'PharmacoSig' objects, as returned by 'readGeneSigsForPSet'

saveDir

Optional ['character'] vector specifying the path at which to save a .csv of the 'data.table'

fileName

Optional ['character'] vector specifying the name for the .csv file. If you specify one of 'saveDir' or 'fileName', you must specify both.

Value

A long ['data.table'] containing the gene signature statistics for each drug x gene x tissue combination


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