Description Usage Arguments Value Note See Also Examples
View source: R/FunctionalSpectra.R
This function generates functional spectrum for a single gene expression profile.
1 2 3 4 5 6 7 8 | getFunctionalSpectrum(
expressionProfile,
geneSets = "MSigDBv7",
refExp = NULL,
logChange = F,
inverseRescale = F,
filter = -3
)
|
expressionProfile |
a named numeric vector containing gene expression profile |
geneSets |
a List containing gene sets (default: MSiDB v6) |
refExp |
a character indicating cancer typer according to TCGA's indentifier, or a named vector reference expression |
logChange |
a logical flag indicating whether the input data is already in log change form, e.g., for two color microarray, you should turn it on. (default: FALSE) |
inverseRescale |
a logical flag indicating whether we rescale the reference to the scale of input data. If your single sample is microarray data and the reference is RNA-Seq, you should turn it on. (default: FALSE) |
filter |
a numeric indicating the cutoff value of expression. (default: -3) |
a numeric vector containing functional spectrum
You can generate the reference expression profile from your previous data or public data, which is the same(similiar) cancer type and platform.
In DeepCC we also prepared average expression profiles of each cancer types in TCGA project as references. To use them, just use the TCGA identifier (COADREAD, BRCA, OV, etc.) to indicate the cancer type.
If your single sample is microarray data, we strongly sugguest turn the parameter inverseRescale
on, since TCGA is RNA-Seq, which has very small expression value for low expressed genes, compared with microarray.
getFunctionalSpectra
for a batch of gene expression profiles.
1 | getFunctionalSpectrum(ep, refExp = "COADREAD")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.