Description Usage Arguments Details See Also Examples
Ploting function for object coming from read.mir or a selected gene and respective miRNAs from a miRtcList object
1 |
miRtcObj |
A data.frame resulting from |
gene_id |
Selected |
timeunit |
Name for the abscissae axes, normally a time unit like "Hours", "PD" etc. |
legend.x |
Position of the legend in the x-axes. |
legend.y |
Position of the legend in the y-axes. |
svgTips |
TRUE if you want to use the |
svgname |
Name for the SVG image output. |
height |
Height of the graphs. |
width |
Width of the graphs. |
The function plots the trends of a gene target with the specified gene_id
and respective miRNA contained in a miRtcList-class
object.
If the miRtcObj
argument is a dataframe coming from read.mir
function, the resulting plot will be a point graph in SVG format.
Each couple miRNA/Target is a point, the x value is the gene target expression value and the y value is the microRNA expression value.
To decrease the size of the graph is possible to select just the desired miRNAs or gene targets in the data.frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
data(RmiR)
res1 <- read.mir(genes=gene1, mirna=mir1, annotation="hgug4112a.db")
res2 <- read.mir(genes=gene2, mirna=mir2, annotation="hgug4112a.db")
res3 <- read.mir(genes=gene3, mirna=mir3, annotation="hgug4112a.db")
res_tc <- RmiRtc(timeline=c("res1", "res2", "res3"),
timevalue=c(12, 48, 72))
res <- readRmiRtc(res_tc, correlation=-0.9, exprLev=1,
annotation="hgug4112a.db")
## List of genes with anti-correlated miRNAs:
res$reps
## Plot of the first gene of the list:
plotRmiRtc (res, gene_id=351, timeunit="Hours")
## Setting the position of the legend:
plotRmiRtc (res,gene_id=351, legend.x=50, legend.y=0, timeunit="Hours")
## Plot with RSVGTipsDevice:
plotRmiRtc (res,gene_id=351, legend.x=50, legend.y=0, timeunit="Hours",
svgTips=TRUE)
## Plot of a read.mir results:
plotRmiRtc (res1, svgname="gene1.svg", svgTips=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.