get_var_genes: Get variable genes

Description Usage Arguments Value

View source: R/var.R

Description

This function finds the variable genes in an SCE object. The means and variances of the genes are calculated from the raw counts of the cluster set. Then, the means and variances are log-transformed after adding a constant of 1. A loess regression line is fit between the log counts and log variance, and the only top genes ranked by residual are variable genes used to initialize the clusters. The number of genes is specified with n_genes. The span for the loess function is given by lss (default is 0.3).

Usage

1
get_var_genes(x, n_genes = 2000, lss = 0.3, verbose = FALSE)

Arguments

x

An SCE object.

n_genes

Number of variable genes to return.

lss

Numeric value of the span parameter of the loess regression.

verbose

Verbosity.

Value

An SCE object


diem documentation built on Nov. 16, 2019, 1:08 a.m.