getProj | R Documentation |
Extract projection values of a given set of IDs on a subset of components.
getProj(icaSet, ids, keepComp,
level = c("features", "genes"))
icaSet |
An object of class |
ids |
feature or gene IDs |
keepComp |
Index of the components to be conserved,
must be in |
level |
The level of projections to be extracted,
either |
A vector or a list of projection values
Anne Biton
## load an example of IcaSet
data(icaSetCarbayo)
##get the projection of your favorite proliferation genes
#on all components
getProj(icaSetCarbayo, ids=c("TOP2A","CDK1","CDC20"), level="genes")
#on some components
getProj(icaSetCarbayo, ids=c("TOP2A","CDK1","CDC20"),
keepComp=c(1,6,9,12),level="genes")
##get the gene projection values on the sixth component
getProj(icaSetCarbayo, keepComp=6,level="genes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.