Skip to content

Clarification about the circlirize plot #1

Description

@kafker

First of all, thank you for MeStudio.

We just got some pacbio data and MeStudio is actually quite useful for looking at global methylation patterns.

I need some clarification about the outer circle in the Circular plot.

While in the publication, the outer circle is described as:

the genome annotation of the contigs of the strain (black lines indicate the position of CDS) (Figure 4)

In ms_circ.R the outer circle is actually initialized by using the evo_upstream.bed file which instead corresponds to the US (yellow circle) methylate sites (my_bed4)

#import library
library(circlize)

#read your bed files:
my_bed <- as.data.frame(read.table("evo_CDS.bed",header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
my_bed2 <- as.data.frame(read.table("evo_nCDS.bed",header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
my_bed3 <- as.data.frame(read.table("evo_intergenic.bed",header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
my_bed4 <- as.data.frame(read.table("evo_upstream.bed",header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))

# Init plot
circos.initializeWithIdeogram(my_bed4)

# Match the bed differences 
#bed_list = list(my_bed, my_bed2, my_bed3, my_bed4)
#circos.genomicRainfall(bed_list, pch = 16, cex = 0.4, col = c("#FF000080", "#0000FF80"))

# specify each bed's methylation-density
circos.genomicDensity(my_bed, col = c("red"), track.height = 0.1)
circos.genomicDensity(my_bed2, col = c("blue"), track.height = 0.1)
circos.genomicDensity(my_bed3, col = c("purple"), track.height = 0.1)
circos.genomicDensity(my_bed4, col = c("orange"), track.height = 0.1)

Could you please clarify? Sure, I am missing something

Thank you
A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions