getFunctionalSpectrum: Generate Functional Spectrum

Description Usage Arguments Value Note See Also Examples

View source: R/FunctionalSpectra.R

Description

This function generates functional spectrum for a single gene expression profile.

Usage

1
2
3
4
5
6
7
8
getFunctionalSpectrum(
  expressionProfile,
  geneSets = "MSigDBv7",
  refExp = NULL,
  logChange = F,
  inverseRescale = F,
  filter = -3
)

Arguments

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)

Value

a numeric vector containing functional spectrum

Note

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.

See Also

getFunctionalSpectra for a batch of gene expression profiles.

Examples

1
getFunctionalSpectrum(ep, refExp = "COADREAD")

CityUHK-CompBio/DeepCC documentation built on Dec. 24, 2021, 7:48 a.m.