NMRMetab_PLS_DA_plot: compute PLS-DA scores and plot plsda score

Description Usage Arguments

View source: R/NMRMetab_average_prediction_metrics.R

Description

PLSDA score plot

Usage

1
2
3
4
5
6
7
8
9
NMRMetab_PLS_DA_plot(
  data,
  groupID = "group",
  index_col = 3,
  components = c(1, 2),
  scale = F,
  elipses = F,
  size_point = 3
)

Arguments

data

a matrix or a data.frame. rows are samples and columns are grouping and metabolites or bins

groupID

a vercors with the column name contining the grouping of the data. This parameter is to be use to mae sure that the 2 new data.frames created have all groups mentioned in the column we identifiy

index_col

name of the column containing the groups

components

a vector with 2 integer values. default set to 1 and 2

scale

does it need scaling

elipses

boolean. add elipsess around the groups? defailt is False

size_point

double. control the size of the plotted points


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