NBumiFeatureSelectionHighVar {M3Drop} | R Documentation

## Variance-based Feature Selection

### Description

Ranks genes by residual dispersion from mean-dispersion power-law relationship.

### Usage

    	NBumiFeatureSelectionHighVar(fit)

### Arguments

`fit` | output from NBumiFitModel or NBumiFitBasicModel.

### Details

Uses linear regression on log-transformed mean expression and fitted dispersions. Ranks genes by the residuals of this fit, negative = high variance, positive = low variance.

### Value

Sorted vector of residuals.

### Examples

    	library(M3DExampleData)
    	counts <- NBumiConvertData(Mmus_example_list$data)
    	fit <- NBumiFitModel(counts);
    	HVGs <- names(NBumiFeatureSelectionHighVar(fit)[1:2000]);

[Package M3Drop version 1.14.0 Index]