ref_feature_select {clustifyr} | R Documentation

## feature select from reference matrix

### Description

feature select from reference matrix

### Usage

    ref_feature_select(mat, n = 3000, mode = "var", rm.lowvar = TRUE)

### Arguments

`mat` | reference matrix
`n` | number of genes to return
`mode` | the method of selecting features
`rm.lowvar` | whether to remove lower variation genes first

### Value

vector of genes

### Examples

    pbmc_avg <- average_clusters(
        mat = pbmc_matrix_small,
        metadata = pbmc_meta,
        cluster_col = "classified"
    )

    ref_feature_select(
        mat = pbmc_avg[1:100, ],
        n = 5
    )

[Package clustifyr version 1.0.0 Index]