plotPADistribution: plotPADistribution

Description Usage Arguments Details Value See Also Examples

View source: R/funclib_plot.R

Description

Plot the gene region distribution of PA sites.

Usage

1
plotPADistribution(PAdf, resultpath, colorOfBar)

Arguments

PAdf

A dataframe that contains the PA information of all reads, Contains at least three columns: PAID, gene, ftr.

resultpath

The specified path to save barplot.

colorOfBar

The color of barplot, as input in hexadecimal form, defaults to "#196BE1".

Details

Plot the gene region distribution of PA sites, including "3UTR", "5UTR", "CDS", "exon", "intergenic", "intron". Finally, we will save the PA locus distribution barpllot in PPTX format to the path you specified.

Value

A barplot.

See Also

[plotGenePAnumbers()] to plot the gene frequency distribution with different number of PA sites. @export

Other Visualization functions: DSA_UpsetPlot(), DSA_ViolinPlot(), PALdsa(), nonAanalysis(), plotGenePAnumbers(), plotPALDistribution(), plotPASignals(), tailViso()

Examples

1
2
data(PAs)
p <- plotPADistribution(PAs,"./","#9BBFDC")

XHWUlab/PolyAtailor documentation built on Dec. 28, 2021, 12:13 a.m.