peptideProfilePlot {DEqMS} | R Documentation |
This function is to plot log2 intensities of all peptides for one gene in different samples.
peptideProfilePlot(dat, col=2, gene)
dat |
a data frame with peptide/psm log2 intensities |
col |
an integer indicates the column number where the gene protein id is. default is 2, asumming the gene/protein is in the second column |
gene |
an character indicates the gene name/id to be plotted |
return a ggplot2 object
Yafeng Zhu
library(ExperimentHub) eh = ExperimentHub() query(eh, "DEqMS") dat.psm = eh[["EH1663"]] dat.psm.log = dat.psm dat.psm.log[,3:12] = log2(dat.psm[,3:12]) peptideProfilePlot(dat.psm.log,col=2,gene="TGFBR2")