do_pca | R Documentation |
Do a quick PCA analysis.
do_pca(
lipid_data,
observations = c("all", "samples"),
normalization = c("raw", "tot_area"),
num_pc = 5,
scaling = c("none", "uv", "pareto"),
transformation = c("none", "log10")
)
lipid_data |
tibble in tidy format |
observations |
which observations to show |
normalization |
what normalization to use, none (raw data) or total area normalization |
num_pc |
number of prinicpal components to calculate (default is 5) |
scaling |
how to scale the data |
transformation |
what transformation to use |
a list with scores, loadings and explained variance
Rico Derks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.