tailViso: tailViso

Description Usage Arguments Details Value See Also Examples

View source: R/funclib_plot.R

Description

Visualize tails using heat maps and logos.

Usage

1
tailViso(taildf, tailLen, Ntail, custom, strand, faPath, showLogo, showReadNum)

Arguments

tailLen

Maximum tail length to draw.

Ntail

Number of tails to draw.

custom

A dataframe. Custom base color matching information, one column is the base name, the other column is the corresponding color scheme.

strand

The direction of the tail chain, + represents the polyA tail and - represents the polyT tail.

faPath

Tail sequence file path.

showLogo

Logical value indicating whether to draw the LOGO diagram, The default is T.

showReadNum

Logical value indicating whether to display the sequence identifier, default to T.

tails

A dataframe. The set of tails that the user wants to visualize contains at least one set of tail sequences and a unique identifier for each tail.

Details

Visualize the tail input by the user so that the base composition of different tails can be compared intuitively.

Value

Return the picture.

See Also

[DSA_ViolinPlot()] to draw a violin diagram of the result of differential tail length analysis.

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

Examples

1
2
3
data(taildf)
my_cutstom <- data.frame(names=c("A","C","T","G"),color=c("#3171A5","#4EAA4C","#C9C4C2","#D73D3D"))
p <- tailViso(taildf,tailLen=100,Ntail=20,custom=my_cutstom,strand="-",faPath="D:/",showLogo=T,showReadNum= F)

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