Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch effect in Methylkit and SVA

    Hello!

    I have 6 RRBS samples that I am analyzing in MethylKit. After looking at the clustering and PCA plots it seems that there are batch effects. The 6 samples were done at 3 different times, each time one control and one case. The samples cluster according to these batches.

    How can I remove the batch effects with SVA or other tools? I looked at the assocComp function and there were 3 PCA components that seemed to be correlated with batches at the 0.1 - 0.2 level. I don't trust that removing those 3 components removes just the batch effects.

    SVA is recommended in the documentation, but I'm not an expert in R and I'm not sure how to use with MethylKit.

  • #2
    Did you ever figure this out? I'm in the same boat with batch effects.

    I've seen other posts claiming people use SVA on logit transformed values, but I'm not sure how I would - or if I should - incorporate the SVA transformed data back into the methylKit workflow.

    Comment


    • #3
      Radmeth

      No I didn't. I moved my analysis to RADmeth/Methpipe. In RADmeth you can define covariates in the design matrix to take care of batch effects.

      Comment


      • #4
        Thanks! That's really helpful. I'll check it out.

        Comment


        • #5
          Example

          Here's a clarifying text I got from the author of RADmeth (I had 15 samples in three batches):

          "First of all, you are absolutely correct. To account for batch effects you can add a few more columns to the design matrix. I have attached an example of such a matrix. It describes a dataset containing 15 samples. The samples are grouped into 3 batches. This is encoded by columns base, batch1, and batch2. (Note that you only need two extra columns to specify three groups: batch1 and batch2 permit methylation levels of two groups of samples to deviate from the third, base group; this gives you three total groups that correspond to batches; see what I mean?). The last column, testfact, defines a factor level that you would use for testing.


          base batch1 batch2 testfact
          sample01 1 0 0 0
          sample02 1 0 0 0
          sample03 1 0 0 0
          sample04 1 0 0 1
          sample05 1 0 0 1
          sample06 1 1 0 0
          sample07 1 1 0 0
          sample08 1 1 0 0
          sample09 1 1 0 1
          sample10 1 1 0 1
          sample11 1 0 1 0
          sample12 1 0 1 0
          sample13 1 0 1 0
          sample14 1 0 1 1
          sample15 1 0 1 1
          "

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Best Practices for Single-Cell Sequencing Analysis
            by seqadmin



            While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
            06-06-2024, 07:15 AM
          • seqadmin
            Latest Developments in Precision Medicine
            by seqadmin



            Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

            Somatic Genomics
            “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
            05-24-2024, 01:16 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:58 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 06-06-2024, 08:18 AM
          0 responses
          20 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 06-06-2024, 08:04 AM
          0 responses
          18 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 06-03-2024, 06:55 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Working...
          X