Skip to contents

Select genes with the highest variance across samples.

Usage

genes_top_variance(phyex_set, p = 0.99)

Arguments

phyex_set

A PhyloExpressionSet object

p

Quantile threshold for gene selection (default: 0.99)

Value

Character vector of gene IDs with variance >= p quantile

Details

This function identifies genes with the highest variance across samples, which are often the most informative for downstream analyses.

Examples

# Select top 1% most variable genes
# high_var_genes <- genes_top_variance(phyex_set, p = 0.99)