movPAindex | R Documentation |
movPAindex calculates index of each PAC, while movAPAindex calculates index for APA genes. method=ratio/geo is only allowed for APA genes, so these indices are only calculated for PACs in APA genes.
movPAindex(PACds, method, shan.ratio = FALSE)
PACds |
a PACDataset object. |
method |
should be "shannon","ratio", "geo".
|
shan.ratio |
Pass to specificityByShannon. |
A matrix of PA index.
shannon: return a dataframe of [H (overall TS), Q_min (min TS), Q_min_tissue, Q for each tissue], in which smaller H or Q means higher tissue-specificity. If PA=0 in one sample, then the respective Qval is NA.
"geo/ratio": return a dataframe of the same row# and col# of the PACds@counts.
Other comparison functions:
movAPAindexDiff()
,
movAPAindex()
,
movAPAswitch()
,
movDEGene()
,
movDEPAC()
,
movUTRtrend()
,
plotCummPAindex()
data(PACds)
PAindex=movPAindex(PACds, method='ratio')
PAindex=movPAindex(PACds, method='geo')
PAindex=movPAindex(PACds, method='shannon')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.