agregate_singlepeptides: Aggregate mean intensity values of peptides mapped to the...

Description Usage Arguments Value Examples

View source: R/agregate_singlepeptides.R

Description

agregate_singlepeptides calculates the mean intensity values of peptides mapped to the same gene to represent the intensity of the gene-encoded protein.

Usage

1
2
3
4
5
6
7
agregate_singlepeptides(
  Qfeature,
  SV_seq,
  ProtFeatures,
  whichorder,
  names_samples = paste(sample_names, rep(1:3, each = 3), sep = "_")
)

Arguments

Qfeature

QFeatures, Data object.

SV_seq

AAStringSet, DNAString object.

ProtFeatures

list, ProtFeatures$ProtSeq us a DNAString object.

whichorder

numeric, to correctly reorder labels

names_samples

character, to specify sample names

Value

a dataframe

Examples

1
2
3
4
5
if(interactive()){
aggregatedWCL<-agregate_singlepeptides(QWCLpeptidesfiltered_clean,SV_seq,
 whichorder = c(1,2,4,3,6,5,7,10,9,8),
  names_samples=   paste(sample_names,rep(1:3,each=3),sep='_'))
}

demar01/RIC documentation built on Feb. 10, 2021, 5:25 p.m.