Description Usage Arguments Value Author(s) Examples
This function is to calculate proteins'relative abundance by median method
1 | medianSummary(dat,group_col=2,ref_col)
|
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 |
ref_col |
an integer vector indicating the column(s) used as denominator to calcualte relative petide ratio. |
a data frame containing protein relative abundance estimate in log2 scale
Yafeng Zhu
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])
# use the 3 ctrl samples as reference channels to calculate log2 ratio
dat.gene = medianSummary(dat.psm.log,group_col = 2,ref_col =c(3,7,10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.