Learn R Programming

Seurat (version 3.0.1)

HVFInfo: Get highly variable feature information

Description

Get highly variable feature information

Usage

HVFInfo(object, ...)

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

# S3 method for 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

Run this code
# NOT RUN {
# 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, ]

# }

Run the code above in your browser using DataLab