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

View source: R/combine.R

mbR Documentation

Average the bridge sample(s) in a vector of quantification values

Description

Note, redundant bridge sample(s) are removed

Usage

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

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 July 22, 2023, 12:08 a.m.