plotGenePAnumbers: plotGenePAnumbers

Description Usage Arguments Details Value See Also Examples

View source: R/funclib_plot.R

Description

Plot the gene frequency distribution with different number of PA sites.

Usage

1
plotGenePAnumbers(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 frequency distribution with different number of PA sites. Genes were divided into five groups, each containing the number of PA sites 1, 2, 3, 4, 5 and greater than 5, respectively.

Value

A barplot.

See Also

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

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

Examples

1
2
data(PAs)
p <- plotGenePAnumbers(PAs,"./","#DF7C7D")

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