refpeaknorm: Reference Peak Normalization of glycan data

Description Usage Arguments Details Value Author(s) Examples

View source: R/normalization.R

Description

Returns glycans normalized with Reference Peak Normalization approach.

Usage

1

Arguments

d

data frame in long format containing glycan measurements

grouping

should data be normalized per groups

peak

glycan name to use as the reference peak. If NULL peak with maximal value (summed through all samples) is used

Details

Input data frame should have at least the following three columns:
- gid - representing a unique name of a sample
- glycan - representing glycan names
- value - representing measured values
and if the grouping argument is TRUE it should also have column:
- groups - representing groupings (e.g. IgG1, IgG2 and IgG4)

Value

Returns a data.frame with original glycan values substituted by normalized ones

Author(s)

Ivo Ugrina, Lucija Klarić

Examples

1
2
3
data(mpiu)
mpiun <- refpeaknorm(mpiu)
head(mpiun)

Example output

From version 0.3 functions tanorm and glyco.outliers expect data frames
in long format.
# A tibble: 6 x 4
  Plate   gid glycan       value
  <int> <chr> <fctr>       <dbl>
1     1   1_1    GP1 0.004197406
2     1   1_1   GP10 0.197161822
3     1   1_1   GP11 0.032123474
4     1   1_1   GP12 0.025134223
5     1   1_1   GP13 0.010406596
6     1   1_1   GP14 0.690281858

glycanr documentation built on March 29, 2021, 5:07 p.m.