R/AllGenerics.R
, R/gs_score-methods.R
gs_score.Rd
compute overall score based on the given marker list
gs_score(data, features = NULL, slot = "score", suffix = "score")
# S4 method for class 'AnyMatrix,ANY'
gs_score(data, features = NULL)
# S4 method for class 'AnyMatrix,list'
gs_score(data, features = NULL, suffix = "score")
# S4 method for class 'SummarizedExperiment,ANY'
gs_score(data, features = NULL, slot = "score", suffix = "score")
an expression object, can be matrix or SummarizedExperiment
vector or named list, feature names to compute score
a character, specify which slot to use when data is se object, optional, default 'score'
a character, specify the name suffix to save score when features is a named list
A vector of overall score for each sample