calculateSibPepCorr: calculateSibPepCorr

Description Usage Arguments Value Examples

View source: R/calculateSibPepCorr.R

Description

Calculate sibling peptide correlation in traces.object of type peptide.

Usage

1
2
calculateSibPepCorr(traces, plot = TRUE, PDF = FALSE,
  name = "SibPepCorr_densityplot")

Arguments

traces

An object of type traces.

plot

logical,wether to print SibPepCorr density plot to R console. Deafult is TRUE.

PDF

logical, wether to print SibPepCorr density plot to a PDF file. Deafult is FALSE.

name

Character string with name of the plot, only used if PDF=TRUE. PDF file is saved under name.pdf. Default is "SibPepCorr_densityplot".

Value

An object of type traces with added SibPepCorr column.

Examples

1
2
3
4
5
6
7
## Load example data
 tracesRaw <- examplePeptideTracesUnannotated

 ## Calculate the SibPepCorr of every peptide
 tracesRawSpc <- calculateSibPepCorr(traces = tracesRaw)

 tracesRawSpc$trace_annotation

CCprofiler/CCprofiler documentation built on May 19, 2021, 7:40 p.m.