mb: Average the bridge sample(s) in a vector of quantification...

Description Usage Arguments Value Examples

View source: R/combine.R

Description

Note, redundant bridge sample(s) are removed

Usage

1
mb(values, plex1_ix, plex2_ix, bridge1_ix, bridge2_ix)

Arguments

values

vector of quantification values

plex1_ix

index for quantification values in multiplex 1

plex2_ix

index for quantification values in multiplex 2

bridge1_ix

index for bridge sample(s) in multiplex 1

bridge2_ix

index for bridge sample(s) in multiplex 1

Value

bridge normalised values

Examples

1
2
q <- c(1,1,NA,3,2,2,4,6)
MeanBridges(q, plex1_ix=1:2, plex2_ix=5:6, bridge1_ix=3:4, bridge2_ix=7:8)

TomSmithCGAT/OptProc documentation built on Aug. 14, 2020, 8:23 p.m.