correct_pool | R Documentation |
Subtracts the top principal components from a matrix of proteins x metabolites
correct_pool(pool_data, npcs = 3)
pool_data |
tibble containing protein, metabolite, and log2_abundance |
npcs |
number of principal components to subtract |
a list containing:
A matrix of uncorrected abundances
Percent variance explained for each PC
Projection onto top principal components
pool_log2_matrix
- top_pc_fit
tibble of log2_pc_projection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.