Get number of genes to use with weighted PCA
GetNumGenesWeighted(x, w, min.gene = 25, max.gene = 200)
Numeric Matrix. A sample by gene expression matrix containing the marker genes.
Numeric Vector. The weights of the genes that correspond to the columns of x.
Numeric. Minimum number of genes to consider as markers.
Numeric. Maximum number of genes to consider as markers.
best.n Numeric. Number of genes to use