Learn R Programming

sigminer (version 0.1.11)

draw_cn_components: Plot mixture fit model components

Description

Plot mixture fit model components

Usage

draw_cn_components(features, components, ...)

Arguments

features

a list generate from get_features or sig_prepare function.

components

a list contain flexmix object of copy-number features, obtain this from get_components function or use pre-compiled components data which come from CNV signature paper https://www.nature.com/articles/s41588-018-0179-8 (set this argument as NULL).

...

other options pass to plot_grid function of cowplot package.

Value

a ggplot object

See Also

Other copy number plot: draw_cn_distribution, draw_cn_features

Examples

Run this code
# NOT RUN {
# Load copy number prepare object
load(system.file("extdata", "toy_copynumber_prepare.RData",
  package = "sigminer", mustWork = TRUE
))
draw_cn_components(cn_prepare$features, cn_prepare$components)
# }

Run the code above in your browser using DataLab