ratio_toCtrl: Calculate the log2-ratio to the control group of samples

ratio_toCtrlR Documentation

Calculate the log2-ratio to the control group of samples

Description

Calculate the log2-ratio to the control group of samples

Usage

ratio_toCtrl(df, id, label_scheme_sub, nm_ctrl)

Arguments

df

The name of a primary data file. By default, it will be determined automatically after matching the types of data and analysis with an id among c("pep_seq", "pep_seq_mod", "prot_acc", "gene"). A primary file contains normalized peptide or protein data and is among c("Peptide.txt", "Peptide_pVal.txt", "Peptide_impNA_pVal.txt", "Protein.txt", "Protein_pVal.txt", "protein_impNA_pVal.txt"). For analyses require the fields of significance p-values, the df will be one of c("Peptide_pVal.txt", "Peptide_impNA_pVal.txt", "Protein_pVal.txt", "protein_impNA_pVal.txt").

id

Character string; one of pep_seq, pep_seq_mod, prot_acc and gene.

label_scheme_sub

A data frame. Subset entries from label_scheme for selected samples.

nm_ctrl

The names of samples that belong to the control group.

Examples

ratio_toCtrl(df, "gene", label_scheme_sub, Heatmap_Group)

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