GetNumGenesWeighted: Get number of genes to use with weighted PCA

Description Usage Arguments Value

View source: R/marker_based.R

Description

Get number of genes to use with weighted PCA

Usage

1
GetNumGenesWeighted(x, w, min.gene = 25, max.gene = 200)

Arguments

x

Numeric Matrix. A sample by gene expression matrix containing the marker genes.

w

Numeric Vector. The weights of the genes that correspond to the columns of x.

min.gene

Numeric. Minimum number of genes to consider as markers.

max.gene

Numeric. Maximum number of genes to consider as markers.

Value

best.n Numeric. Number of genes to use


BisqueRNA documentation built on May 24, 2021, 1:06 a.m.