HVFInfo: Get highly variable feature information

Description Usage Arguments Value Examples

View source: R/generics.R

Description

Get highly variable feature information

Usage

1
2
3
4
5
6
7
HVFInfo(object, ...)

## S3 method for class 'Assay'
HVFInfo(object, selection.method, status = FALSE, ...)

## S3 method for class 'Seurat'
HVFInfo(object, selection.method = NULL, assay = NULL, status = FALSE, ...)

Arguments

object

An object

...

Arguments passed to other methods

selection.method

Which method to pull; choose one from c('sctransform', 'sct') or c('mean.var.plot', 'dispersion', 'mvp', 'disp')

status

Add variable status to the resulting data.frame

assay

Name of assay to pull highly variable feature information for

Value

A dataframe with feature means, dispersion, and scaled dispersion

Examples

1
2
3
4
5
# Get the HVF info directly from an Assay object
HVFInfo(object = pbmc_small[["RNA"]], selection.method = 'vst')[1:5, ]

# Get the HVF info from a specific Assay in a Seurat object
HVFInfo(object = pbmc_small, assay = "RNA")[1:5, ]

lambdamoses/SeuratBasics documentation built on May 6, 2020, 9:32 a.m.