plot_cnvr_source.RdPlotting CNVs by the source information
plot_cnvr_source( cnvr, clean_cnv, pedigree, Frequent_threshold, height_1 = 30, width_1 = 15, col_0 = "hotpink", col_1 = "turquoise", col_2 = "gray", col_3 = "tomato", col_4 = "deepskyblue", report_id = TRUE, folder = "plot_cnvr_source" )
| cnvr | standard file was generated by 'call_cnvr' function, should contain the frequency of CNVR | 
|---|---|
| clean_cnv | standard file was generated by 'cnv_clean' function | 
| pedigree | include 'Sample_ID', 'Father_ID', 'Mother_ID', 'Country', 'Group' | 
| Frequent_threshold | Integer, indicate the frequency of CNVR | 
| height_1 | set the height of plot | 
| width_1 | set the width of plot | 
| col_0 | set color for 0 copy of CNV | 
| col_1 | set color for 1 copy of CNV | 
| col_2 | set color for 2 copy of CNV (which might be ROH) | 
| col_3 | set color for 3 copy of CNV | 
| col_4 | set color for 4 copy of CNV | 
| report_id | report the sample ID while plotting | 
| folder | set the folder to save results | 
CNVR source plot