tanorm: Total Area Normalization of glycan data

Description Usage Arguments Details Value Author(s) Examples

View source: R/normalization.R

Description

Returns glycans normalized with Total Area Normalization approach.

Usage

1

Arguments

d

data frame in long format containing glycan measurements

grouping

should data be normalized per groups

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

Examples

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

Example output

From version 0.3 functions tanorm and glyco.outliers expect data frames
in long format.
Warning message:
Version 0.3 of glycanr introduces a change in tanorm function. It expects data frame input in long format now. 
# A tibble: 6 x 4
  Plate gid   glycan   value
  <int> <chr> <fct>    <dbl>
1     1 1_1   GP1     0.0795
2     1 1_1   GP10    3.73  
3     1 1_1   GP11    0.608 
4     1 1_1   GP12    0.476 
5     1 1_1   GP13    0.197 
6     1 1_1   GP14   13.1   

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