refpeaknorm: Reference Peak Normalization of glycan data
Description
Returns glycans normalized with Reference Peak Normalization approach.
Usage
refpeaknorm(d, grouping = FALSE, peak = NULL)
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
Value
Returns a data.frame with original glycan values substituted by normalized ones
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)