| plotCummPAindex | R Documentation | 
PlotCummPAindex plots distribution of PA index among biological samples by calculating the cumulative fraction.
plotCummPAindex(
  PAindex,
  groupName = "Sample",
  xlab,
  ylab = "Cumulative fraction"
)
| PAindex | a matrix of PAindex, which is normally from movAPAindex() or movPAindex(). | 
| groupName | shown as the legend title. | 
| xlab | x label. | 
| ylab | y label, default is "Cumulative fraction". | 
A ggplot2 plot object.
Other comparison functions: 
movAPAindexDiff(),
movAPAindex(),
movAPAswitch(),
movDEGene(),
movDEPAC(),
movPAindex(),
movUTRtrend()
data(scPACds)
scPACdsCt=subsetPACds(scPACds, group='celltype', pool=TRUE)
scPACdsCt=get3UTRAPAds(scPACdsCt, sortPA=TRUE, choose2PA='PD')
## Cummlative plot of GPI index.
gpi=movAPAindex(scPACdsCt, method="GPI")
plotCummPAindex(PAindex=gpi, groupName='cell type', xlab='GPI')
## The plot of the distribution of Shannon index (tissue-specificity) for each PAC.
shan=movPAindex(scPACdsCt, method="shan")
plotCummPAindex(PAindex=shan[, -c(1:3)], groupName='cell type', xlab='Shannon index')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.