Plotting the density of CNV with karyoploteR
0
0
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

karyoploteR • 635 views
ADD COMMENT

Login before adding your answer.

Traffic: 1615 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6