View source: R/plots_heatmaps.R
heatmapForMissingValues | R Documentation |
This function is inspired from the function heatmap.2
that displays quantitative data in the Biobase::exprs()
table of an
object of
class MSnSet
. For more information, please refer to the help
of the heatmap.2 function.
heatmapForMissingValues(
x,
col = NULL,
srtCol = NULL,
labCol = NULL,
labRow = NULL,
key = TRUE,
key.title = NULL,
main = NULL,
ylab = NULL
)
x |
A dataframe that contains quantitative data. |
col |
colors used for the image. Defaults to heat colors (heat.colors). |
srtCol |
angle of column conds, in degrees from horizontal |
labCol |
character vectors with column conds to use. |
labRow |
character vectors with row conds to use. |
key |
logical indicating whether a color-key should be shown. |
key.title |
main title of the color key. If set to NA no title will be plotted. |
main |
main title; default to none. |
ylab |
y-axis title; default to none. |
A heatmap
Samuel Wieczorek
data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot[seq_len(100)]
level <- 'protein'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeLine(metacell.mask)
obj <- MetaCellFiltering(obj, indices, cmd = "delete")
qData <- Biobase::exprs(obj$new)
heatmapForMissingValues(qData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.