View source: R/intersectPSets.R
intersectPSet | R Documentation |
Given a list of PharmacoSets, the function will find the common drugs, and/or cell lines, and return PharmacoSets that contain data only pertaining to the common drugs, and/or cell lines. The mapping between dataset drug and cell names is done using annotations found in the PharmacoSet object's internal curation slot
intersectPSet(
pSets,
intersectOn = c("drugs", "cell.lines", "concentrations"),
cells,
drugs,
strictIntersect = FALSE,
verbose = TRUE,
nthread = 1
)
pSets |
|
intersectOn |
|
cells |
a |
drugs |
a |
strictIntersect |
|
verbose |
|
nthread |
|
A list
of pSets, contatining only the intersection
data(GDSCsmall)
data(CCLEsmall)
common <- intersectPSet(list('GDSC'=GDSCsmall,'CCLE'=CCLEsmall),
intersectOn = c("drugs", "cell.lines"))
common$CGP
common$CCLE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.