Sort features (typically genes) using Pearson correlation.
sort_features(x, ...)
# S3 method for Seurat
sort_features(
x,
features = NULL,
method = "pearson",
slot = "data",
assay = NULL,
...
)
# S3 method for SingleCellExperiment
sort_features(x, features = NULL, method = "pearson", assay = NULL, ...)
# S3 method for matrix
sort_features(x, method = "pearson", ...)
an object with features to sort.
rguments passed down to methods.
a character vector of features to sort.
method to be used for sortening.
the slot to obtain the data from.
the assay to obtain the data from.