Learn R Programming

LipidomicsR (version 0.3.6)

nor.relative: nor.relative()

Description

A function to calculate parameters for relative normalization.

Usage

nor.relative(
  data,
  Inlabel = c("PE(17:0/17:0)", "PC(17:0/17:0)", "PS(14:0/14:0)"),
  normalize_to = 1:5,
  relative_as_default = TRUE,
  relative.mannual = NULL
)

Value

Parameters for relative normalization

Arguments

data

Data frame, row lipidomics data.

Inlabel

Vector. Name of Internal label. Default as c('PE(17:0/17:0)','PC(17:0/17:0)','PS(14:0/14:0)')

normalize_to

Vector. The column of samples that used as the standard for normalization.

relative_as_default

Logical, default as TRUE for automatically searching for internal label data.

relative.mannual

Vector, the exact channel name (if you want to define the channel of internal label mannually).