Formats the data and sends it for plotting.
plot_cnv(infercnv_obj, out_dir = ".", title = "inferCNV",
obs_title = "Observations (Cells)", ref_title = "References (Cells)",
cluster_by_groups = TRUE, k_obs_groups = 3, contig_cex = 1,
x.center = 0, x.range = NA, hclust_method = "ward.D",
color_safe_pal = TRUE, output_filename = "infercnv",
output_format = "png", ref_contig = NULL, write_expr_matrix = FALSE)
infercnv object
Directory in which to save pdf and other output.
Plot title.
Title for the observations matrix.
Title for the reference matrix.
Whether to cluster observations by their annotations or not. Using this ignores k_obs_groups.
Number of groups to break observation into.
Contig text size.
Value on which to center expression.
vector containing the extreme values in the heatmap (ie. c(-3,4) )
Clustering method to use for hclust.
Logical indication of using a color blindness safe palette.
Filename to save the figure to.
format for heatmap image file (default: 'png'), options('png', 'pdf', NA) If set to NA, will print graphics natively
If given, will focus cluster on only genes in this contig.
Includes writing a matrix file containing the expression data that is plotted in the heatmap.
No return, void.