Subsets a SummarizedExperiment to the
n most variable features (genes), ranked by row variance.
Arguments
- se
A
SummarizedExperimentobject.- n
Number of top variable features to select. Default: 500.
- assay_name
Name of the assay to use. Default:
"counts".
Value
A SummarizedExperiment subset
to the top n variable features, preserving all sample metadata.