NMRMetab_PCA_plot: PCA analysis. plot

Description Usage Arguments Author(s)

View source: R/NMRMetab_PCA_plot.R

Description

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

Usage

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
)

Arguments

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

Author(s)

Michele Fresneda Alarcon


mikies21/beetlesNMR documentation built on Sept. 30, 2021, 11:13 a.m.