quickmap | R Documentation |
Generate a heatmap using pheatmap
with sensible defaults for RNA-seq.
quickmap(x, metadata = NULL, remove_var = NULL, ...)
x |
numeric matrix to be passed onto pheatmap function |
metadata |
column metadata to add to heatmap annotation. Default NULL |
remove_var |
Remove this proportion of features based on variance across rows. Default NULL. |
... |
args to be passed to |
The default arguments to pheatmap::pheatmap()
are:
scale = "row"
show_rownames = FALSE
border_col = NA
cluster_rows = TRUE
cluster_cols = TRUE
color = colorRampPalette(c("dodgerblue3", "grey99", "firebrick3"))(30)
treeheight_row = 0
clustering_distance_rows = "correlation"
clustering_distance_cols = "euclidean"
clustering_method = "ward.D2"
angle_col = 315
pheatmap object. See ?pheatmap::pheatmap()
for details
# Display heatmap of scaled count data and add title to the plot
quickmap(GSE161650_lc, main = "THZ1 vs DMSO")
# Override quickmap defaults by supplying additional args
quickmap(GSE161650_lc, cluster_rows = FALSE, cluster_cols = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.