Description Usage Arguments Value Examples
Heat map of the given distances for a grid of ploidy and cellularity values.
1 2 3 4 5 6 7 | distance_heatmap(
distances,
low_distance_colour = "red",
high_distance_colour = "blue",
xlabel = "cellularity",
ylabel = "ploidy"
)
|
distances |
a data frame containing |
low_distance_colour |
the colour for low distances. |
high_distance_colour |
the colour for high distances. |
xlabel, ylabel |
x- and y-axis labels. |
a ggplot
object
1 2 3 4 5 6 7 8 | data(copy_number)
copy_number <- copy_number[copy_number$sample == "X17222", ]
segments <- copy_number_segments(copy_number)
distances <- absolute_copy_number_distance_grid(segments$copy_number,
segments$weight,
distance_function = "MAD")
distance_heatmap(distances)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.