dot-GetVariableFeatures: Returns the top variable features from a data frame of highly...

.GetVariableFeaturesR Documentation

Returns the top variable features from a data frame of highly variable feature annotations. Features are marked as variable if their value in 'label_column' is neither 'NA' nor 'FALSE'. When a ranking is provided via 'rank_column', features are ordered accordingly.

Description

Returns the top variable features from a data frame of highly variable feature annotations. Features are marked as variable if their value in 'label_column' is neither 'NA' nor 'FALSE'. When a ranking is provided via 'rank_column', features are ordered accordingly.

Usage

.GetVariableFeatures(hvf_info, label_column, rank_column, nfeatures)

Arguments

hvf_info

A 'data.frame' containing highly variable feature annotations.

label_column

A column in 'hvf_info' indicating which features are variable. A feature is considered variable if it's corresponding value is not 'NA' or 'FALSE'.

rank_column

A column in 'hvf_info' indicating the rank of each feature.

nfeatures

The number of variable features to return.


mojaveazure/seurat-object documentation built on April 5, 2025, 3:13 a.m.