sort_features: sort_features

View source: R/sort.R

sort_featuresR Documentation

sort_features

Description

Sort features (typically genes) using Pearson correlation.

Usage

sort_features(x, ...)

## S3 method for class 'Seurat'
sort_features(
  x,
  features = NULL,
  method = "pearson",
  slot = "data",
  assay = NULL,
  ...
)

## S3 method for class 'SingleCellExperiment'
sort_features(x, features = NULL, method = "pearson", assay = NULL, ...)

## S3 method for class 'matrix'
sort_features(x, method = "pearson", ...)

Arguments

x

an object with features to sort.

...

rguments passed down to methods.

features

a character vector of features to sort.

method

method to be used for sortening.

slot

the slot to obtain the data from.

assay

the assay to obtain the data from.


ddiez/scmisc documentation built on July 21, 2024, 11:35 a.m.