Get variable genes and scale data.
Usage
calculate_variance(
seurat_obj,
assay = "RNA",
nfeatures = 2000,
log_file = NULL
)
Arguments
- seurat_obj
Seurat object.
- assay
Assay.
- nfeatures
Number of variable features to output.
- log_file
A log file.
Value
A named list of the top features, and the scaled data.