Description Usage Arguments Author(s)
View source: R/NMRMetab_PCA_plot.R
This function will take in either a object of class data.frame and a using a second dataframe with a list of all the metabolite identifed, will return the CRS score for all the bins. this could work with other metabolite identifiers; for example bins with the name of the metabolite, as log as they are unique. mistakes could happen when greple take NAD and NADH
1 2 3 4 5 6 7 8 | NMRMetab_PCA_plot(
data,
groupID,
index_col = 2,
elipses = F,
pcs = c(1, 2),
size_point = 3
)
|
data |
a data.frame. Column as variable and rows as sample |
groupID |
string. name off the fvariable containing your grouping details |
index_col |
index colum oif first mobservation |
elipses |
number of components |
pcs |
vector with integers only. principal components to plot default 1, 2 |
size_point |
double. control the size of the points in the plot |
Michele Fresneda Alarcon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.