Tag: KaryoploteR

karyoploteR: uncircle your genomes

Hi all, I’d like to present karyoploteR, an R/Bioconductor package we have developed to plot any data on any genome in non-circular layouts. The goal of this project was to develop a tool as flexible as Circos, but easier to use and representing genomes as straight lines instead of circles,…

Continue Reading karyoploteR: uncircle your genomes

Color label of rainfall plot drawn by KaryoploteR

You can use the standard legend() command as outlined in this issue here: support.bioconductor.org/p/124328/ Minimal example based on bernatgel.github.io/karyoploter_tutorial//Examples/Rainfall/Rainfall.html : library(karyoploteR) somatic.mutations <- read.table(file=”ftp://ftp.sanger.ac.uk/pub/cancer/AlexandrovEtAl/somatic_mutation_data/Pancreas/Pancreas_raw_mutations_data.txt”, header=FALSE, sep=”t”, stringsAsFactors=FALSE) somatic.mutations <- setNames(somatic.mutations, c(“sample”, “mut.type”, “chr”, “start”, “end”, “ref”, “alt”, “origin”)) somatic.mutations <- split(somatic.mutations, somatic.mutations$sample) sm <- somatic.mutations[[“APGI_1992”]] sm.gr <- toGRanges(sm[,c(“chr”, “start”, “end”,…

Continue Reading Color label of rainfall plot drawn by KaryoploteR