newColnames: Make new column names

View source: R/peptable.R

newColnamesR Documentation

Make new column names

Description

According to the Sample_ID(s) in label_scheme.

Usage

newColnames(
  TMT_Set = 1L,
  df,
  label_scheme,
  pattern = "[RI][0-9]{3}[NC]{0,1}",
  group_ids = NULL
)

Arguments

TMT_Set

Integer; the index of TMT experiment.

df

Data frame; log2FC data.

label_scheme

Experiment summary.

pattern

Regex pattern for capturing intensity and ratio columns.

group_ids

A character vector; for example, c("heavy", "light") that can be found from column pep_group in df; group_ids is NULL if column pep_group is not in df.


qzhang503/proteoQ documentation built on March 16, 2024, 5:27 a.m.