calcTMTPeptide: Calculates peptide data for individual TMT experiments

calcTMTPeptideR Documentation

Calculates peptide data for individual TMT experiments

Description

Entries under the same pep_seq_mod at different z are collapsed. Argument injn_idx does not currently used.

Usage

calcTMTPeptide(
  df = NULL,
  group_psm_by = "pep_seq",
  method_psm_pep = "median",
  group_pep_by = "prot_acc",
  dat_dir = NULL,
  set_idx = 1L,
  injn_idx = 1L,
  TMT_plex = 10L,
  lfq_ret_tol = 60L,
  rm_allna = FALSE,
  type_sd = "log2_R",
  engine = "mz"
)

Arguments

df

A data frame containing the PSM table from database searches.

group_psm_by

A character string specifying the method in PSM grouping. At the pep_seq default, descriptive statistics will be calculated based on the same pep_seq groups. At the pep_seq_mod alternative, peptides with different variable modifications will be treated as different species and descriptive statistics will be calculated based on the same pep_seq_mod groups.

method_psm_pep

Character string; the method to summarize the log2FC and the intensity of PSMs by peptide entries. The log10-intensity of reporter ions at the PSMs levels will be the weight when summarizing log2FC with various "top_n" statistics or "weighted_mean". The choices of summary statistics for LFQ are depreciated at the users' levels.

group_pep_by

A character string specifying the method in peptide grouping. At the prot_acc default, descriptive statistics will be calculated based on the same prot_acc groups. At the gene alternative, proteins with the same gene name but different accession numbers will be treated as one group.

dat_dir

A character string to the working directory. The default is to match the value under the global environment.

set_idx

Numeric. The index of a multiplex TMT experiment in metadata files such as label_scheme.xlsx and frac_scheme.xlsx.

injn_idx

Numeric. The index of LCMS_Inj in metadata files such as label_scheme.xlsx and frac_scheme.xlsx.

TMT_plex

Numeric; the multiplexity of TMT, i.e., 10, 11 etc.

lfq_ret_tol

The tolerance of retention time (in seconds) for the aggregation of LFQ data.

rm_allna

Logical; if TRUE, removes data rows that are exclusively NA across ratio columns of log2_R126 etc. The setting also applies to log2_R000 in LFQ.

type_sd

Character string; the type of log2Ratios for SD calculations. The value is one log2_R, N_log2_R or Z_log2_R.

engine

The name of search engine.


qzhang503/proteoQ documentation built on Dec. 14, 2024, 12:27 p.m.