Description Usage Arguments Value Examples
Extract genes, i.e. "features", based on the top loadings of principal components formed from the bulk expression data set
1 2 3 4 5 6 7 | feature_select_PCA(
mat = NULL,
pcs = NULL,
n_pcs = 10,
percentile = 0.99,
if_log = TRUE
)
|
mat |
Expression matrix. Rownames are genes, colnames are single cell cluster name, and values are average single cell expression (log transformed). |
pcs |
Precalculated pcs if available, will skip over processing on mat. |
n_pcs |
Number of PCs to selected gene loadings from. See the explore_PCA_corr.Rmd vignette for details. |
percentile |
Select the percentile of absolute values of PCA loadings to select genes from. E.g. 0.999 would select the top point 1 percent of genes with the largest loadings. |
if_log |
whether the data is already log transformed |
vector of genes
1 2 3 4 | feature_select_PCA(
cbmc_ref,
if_log = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.