rankFeatures,SummarizedExperiment-method {PDATK} | R Documentation |
SummarizedExperiment
ObjectRank the Features in a SummarizedExperiment
Object
## S4 method for signature 'SummarizedExperiment' rankFeatures( object, FUN = "rowMads", RANK_FUN = "dense_rank", ..., descending = TRUE, assay = 1 )
object |
A |
FUN |
A row-wise summary function, such as |
RANK_FUN |
A ranking function, such as |
... |
Fall through arguments to |
descending |
Should your rank function be called with |
assay |
|
The SummarizedExperiment
with the column feature_score
and
feature_rank
in the rowData
slot. Information about which functions
where used for each column can be found in the object mcols
in the
calculated_with
column.
data(sampleICGCmicro) rankFeatures(sampleICGCmicro, FUN='rowMads', RANK_FUN='dense_rank')