calculateScore {GenomicSuperSignature} | R Documentation |
Calculate the validation score for a new dataset
calculateScore(dataset, RAVmodel, rescale.after = TRUE)
dataset |
A gene expression profile to be validated. Different classes of objects can be used including ExpressionSet, SummarizedExperiment, RangedSummarizedExperiment, or matrix. Rownames (genes) should be in symbol format. If it is a matrix, genes should be in rows and samples in columns. |
RAVmodel |
PCAGenomicSignatures object. A matrix of average loadings, an
output from |
rescale.after |
Under the default ( |
A list containing the score matrices for input datasets. Scores are assigned to each sample (row) for each cluster (column).
data(miniRAVmodel) library(bcellViper) data(bcellViper) score <- calculateScore(dset, miniRAVmodel)