| rankFeatures,MultiAssayExperiment-method {PDATK} | R Documentation |
MultiAssayExperiment ObjectRank the Features in a MultiAssayExperiment Object
## S4 method for signature 'MultiAssayExperiment' rankFeatures( object, FUN = "mad", RANK_FUN = "dense_rank", ..., descending = TRUE, weights )
object |
A |
FUN |
A vectorized feature scoring function, such as |
RANK_FUN |
A ranking function, such as |
... |
Fall through arguments to |
descending |
Should your rank function be called with |
weights |
A named |
The MultiAssayExperiment with the item featureRanks in the object
metadata, which stores a DataFrame containing ranks accross all assays for
each unique feature and the additional columns feature_score and feature_rank,
as calculated with FUN and RANK_FUN, respectively. Information
about which functions were used for each column can be found in the object
mcols in the calculated_with column.
BiocGenerics::mad, dplyr::dense_rank,
matrixStats::weightedMedian