-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathadd_quality_cols.Rd
35 lines (32 loc) · 1.26 KB
/
add_quality_cols.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/psmtable.R
\name{add_quality_cols}
\alias{add_quality_cols}
\title{Adds columns \code{pep_n_psm}, \code{prot_n_psm} and \code{prot_n_pep}.}
\usage{
add_quality_cols(
df = NULL,
group_psm_by = "pep_seq",
group_pep_by = "prot_acc",
uniq_by = NULL
)
}
\arguments{
\item{df}{A data frame.}
\item{group_psm_by}{A character string specifying the method in PSM grouping.
At the \code{pep_seq} default, descriptive statistics will be calculated
based on the same \code{pep_seq} groups. At the \code{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 \code{pep_seq_mod} groups.}
\item{group_pep_by}{A character string specifying the method in peptide
grouping. At the \code{prot_acc} default, descriptive statistics will be
calculated based on the same \code{prot_acc} groups. At the \code{gene}
alternative, proteins with the same gene name but different accession
numbers will be treated as one group.}
\item{uniq_by}{A vector of column keys in \code{df} defining the levels of
uniqueness in PSM entries.}
}
\description{
Values are based on the complete data, not indivisual samples.
}