medianSweeping: summarize peptide/PSM intensity into protein level relative...

Description Usage Arguments Value Author(s) Examples

View source: R/DEqMS.R

Description

This function is to calculate proteins'relative abundance by median sweeping method

Usage

1
medianSweeping(dat,group_col=2)

Arguments

dat

an data frame with peptide/PSM intensities in log2 scale

group_col

the column by which peptides/PSM intensity are grouped. Usually the gene/protein id column. Default is 2

Value

a data frame with protein relative abundance estimate in log2 scale

Author(s)

Yafeng Zhu

Examples

1
2
3
4
5
6
7
8
9
library(ExperimentHub)
eh = ExperimentHub(localHub=TRUE)
query(eh, "DEqMS")
dat.psm = eh[["EH1663"]]

dat.psm.log = dat.psm
dat.psm.log[,3:12] =  log2(dat.psm[,3:12])

dat.gene.nm = medianSweeping(dat.psm.log,group_col = 2)

yafeng/DEqMS documentation built on June 3, 2020, 8:23 p.m.