demultiplex: Demultiplex snames

demultiplexR Documentation

Demultiplex snames

Description

Demultiplex maxquant samplenames

Usage

demultiplex(x, verbose = FALSE)

Arguments

x

character vector

verbose

TRUE or FALSE

Details

⁠WT(L).KD(H).R1{H/L} -> KD_WT.R1⁠ ⁠WT(1).KD(2).R1{1} -> WT.R1⁠ WT.R1 -> WT.R1

Value

character

Examples

# uniplexed / intensity / ratio
   demultiplex(c('KD.R1','OE.R1'))
   demultiplex(c('WT(L).KD(M).OE(H).R1{M}',  'WT(L).KD(M).OE(H).R1{H}'))
   demultiplex(c('WT(L).KD(M).OE(H).R1{M/L}','WT(L).KD(M).OE(H).R1{H/L}'))
# run / replicate
   demultiplex(c('WT(L).OE(H).R1{L}',    'WT(L).OE(H).R1{H}'))     # run
   demultiplex(c('WT.R1(L).OE.R1(H){L}', 'WT.R1(L).OE.R1(H){H}'))  # repl
# label / index
   demultiplex(c('WT(L).OE(H).R1{L}',    'WT(L).OE(H).R1{H}'))     # label
   demultiplex(c('WT(1).OE(2).R1{1}',    'WT(1).OE(2).R1{2}'))     # index
# with unused channels
   demultiplex('WT(1).KD(2).OE(3).R1{6}')

bhagwataditya/importomics documentation built on Oct. 29, 2024, 3:19 p.m.