standardize_maxquant_snames {autonomics}R Documentation

Standardize maxquant snames

Description

Standardize maxquant sample names

Usage

standardize_maxquant_snames(x, ...)

## S3 method for class 'character'
standardize_maxquant_snames(
  x,
  quantity = guess_maxquant_quantity(x),
  verbose = FALSE,
  ...
)

## S3 method for class 'SummarizedExperiment'
standardize_maxquant_snames(
  x,
  quantity = guess_maxquant_quantity(x),
  verbose = FALSE,
  ...
)

Arguments

x

character vector or SummarizedExperiment

...

allow for proper S3 method dispatch

quantity

maxquant quantity

verbose

TRUE (default) or FALSE

Details

Drop "Ratio normalized", "LFQ intensity" etc from maxquant sample names

Value

character vector or SummarizedExperiment

Examples

# character vector
   x <- "Ratio M/L normalized STD(L)_E00(M)_E01(H)_R1"
   standardize_maxquant_snames(x)

   x <- "Ratio M/L STD(L)_E00(M)_E01(H)_R1"
   standardize_maxquant_snames(x)

   x <-'LFQ intensity STD_R1'
   standardize_maxquant_snames(x)

   x <- 'LFQ intensity L STD(L)_E00(M)_E01(H)_R1'
   standardize_maxquant_snames(x)

   x <-'Reporter intensity 0 A(0)_B(1)_C(2)_D(3)_E(4)_F(5)_R1'
   standardize_maxquant_snames(x)

   x <- 'Reporter intensity corrected 0 A(0)_B(1)_C(2)_D(3)_E(4)_F(5)_R1'
   standardize_maxquant_snames(x)

[Package autonomics version 1.2.0 Index]