makeHmap | R Documentation |
This function is intended for use when both miRNA and mRNA data are available for the same samples. In this situation it may be advantageous to compute correlations between the two RNA types, in order to detect mRNA transcripts that are targeted by miRNA.
makeHmap(
mRNAdat,
miRNAdat,
mRNAlst,
mRNAvec = NULL,
miRNAvec = NULL,
chipPkg,
header,
plot = TRUE,
out = TRUE,
lhei = c(0.05, 0.95),
margins = c(5, 8)
)
mRNAdat |
An |
miRNAdat |
An |
mRNAlst |
A |
mRNAvec |
A numeric vector used to subset or reorder the mRNA data, by
column. If |
miRNAvec |
A numeric vector used to subset or reorder the miRNA data,
by column. If |
chipPkg |
Character. The name of the chip-specific annotation package (e.g., "hgu133plus2.db"). |
header |
Character. The plot title if a heatmap is output. |
plot |
Boolean. Should a heatmap be generated? |
out |
Boolean. Should the matrix of correlation coefficients be output? |
lhei |
From |
margins |
From |
As noted above, this function is intended to generate output from simultaneous analyses of miRNA and mRNA data for the same samples, the goal being either a heatmap like plot of correlations, or the data (or both).
If creating a plot, note that if the number of significant mRNA probes is
large, the resulting heatmap will have many rows and will not plot correctly
on the usual graphics device within R. In order to visualize, it is almost
always better to output as a pdf. In addition, the dimensions of this pdf
will have to be adjusted so the row names for the heatmap will be legible.
As an example, a heatmap with 10 miRNA transcripts and 100 mRNA transcripts
will likely need a pdf with a width argument of 6 and a height argument of
25 or 30. It may require some experimentation to get the correct arguments
to the pdf
function.
Also please note that this function by necessity outputs rectangular data. However, there will be many instances in which a given miRNA isn't thought to target a particular mRNA. Whenever this occurs, the heatmap will have a white cell, and the output data for that combination will be NA.
This function will output a numeric matrix if the 'out' argument is
TRUE
.
James W. MacDonald
mirna2mrna
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.