
Plot relative CN diversity heatmap
RCNDiversityPlot.Rd
Function to plot the copy number profile from relative copy numbers
Arguments
- order_by
optional character vector containing the order the samples in the heatmap should be in
- cluster
optional logical Do a row-wise sort of the heatmap (sort the samples)
- subset
optional character vector A subset of samples that you'd like to plot.
- rmblacklist
optional NULL or character vector. Filter the plot of blacklist regions from this genome. ex. 'hg19'
- limits
vector containing the limits of your colour gradient. Passed to scale_fill_gradientn
- breaks
vector containing the limits of your colour gradient. Passed to scale_fill_gradientn
- genome
reference genome build
- x
dataframe containing the copy number segments in long format: columns should be start, sample id (named sample) and segmented