CNPlot_events | R Documentation |
This function draws two copy-number profiles for visual comparison. Before to apply this function, please double-check that both profiles include the same chromosomes
CNPlot_events(events, events_2, method_diff, plot_diff = FALSE)
events |
segment table with absolute copy numbers of one sample |
events_2 |
segment table with absolute copy numbers of the other sample |
method_diff |
method used for calculating difference. Options are "normalized" or "non-normalized" by ploidy status |
plot_diff |
logical indicating if only segments that are different in the second profile may be plotted. Default is FALSE |
A plot with copy-number profiles of two samples. The % genome difference between profiles is also reported.
exp_cell=cells_segcn[cells_segcn$sample=="22RV1",] mod_cell=cells_segcn[cells_segcn$sample=="A172",] CNPlot_events(exp_cell,mod_cell, method_diff="non-normalized")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.