ref_feature_select: feature select from reference matrix

Description Usage Arguments Value Examples

View source: R/utils.R

Description

feature select from reference matrix

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
pbmc_avg <- average_clusters(
    mat = pbmc_matrix_small,
    metadata = pbmc_meta,
    cluster_col = "classified"
)

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

clustifyr documentation built on Nov. 8, 2020, 5:32 p.m.