Entering edit mode
2.8 years ago
ManuelDB
▴
110
From karyoploteR documentation we can read this code
library(karyoploteR)
regions <- createRandomRegions(nregions=10000, length.mean = 1e6, mask=NA, non.overlapping = FALSE)
kp <- plotKaryotype()
kpPlotDensity(kp, data=regions)
I haven't used this library before and the last time I used R was 10 years ago. Someone could help and tell me what is the format of this regions
variable.
I have a VCF with CNVs and I would like to Plot the density and it seems this library does exactly what I want but before starting working if someone who has used this before could tell the structure of the data input
I could directly think how to adapt my VCF to be used by karyoploteR