View source: R/ModelSeries_callSubtypes2.R
callEnsemble | R Documentation |
Make subtype calls for each sample
callEnsemble(
X,
ens = NULL,
geneAnnotation = NULL,
geneSet = NULL,
scaller = NULL,
geneid = "ensembl",
matchmode = c("fix", "free")[1],
subtype = c("PAD.train_20200110", "ImmuneSubtype")[1],
verbose = T
)
X |
a numeric RNA expression vector or matrix with gene names |
ens |
A List of multiple model. Result of |
geneAnnotation |
A data frame with ENSEMBL, SYMBOL and ENTREZID of the genes in |
geneSet |
A list of genes for classification |
scaller |
scaller object. A |
geneid |
type of gene id in |
matchmode |
If your genes belong to ENSEMBL, SYMBOL or ENTREZ, you should set |
subtype |
Default subtype methods. Now, only |
verbose |
whether report messages |
table, column 1 is best call, remaining columns are subtype prediction scores.
## X is a matrix with SYMBOL ID in row scale.
resIS <- callEnsemble(
X,
ens = NULL,
geneAnnotation = NULL,
geneSet = NULL,
geneid = "symbol",
nClust = 6,
subtype = 'ImmuneSubtype',
bestMethod = c("maximum", "scaller")[2],
scaller = NULL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.