Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lee_sh
    Junior Member
    • Jul 2011
    • 8

    #1

    How to draw Venn digram for two groups peaks

    Hi, everyone. I meet a problem in drawing Venn diagram to describe the overlapping of peaks between two groups. I defined one base overlapping between one peak from A and another peak from B as overlapping. Now, the problem comes. Sometimes, one peak in A group may overlapping with two near peaks in B group. Then , the number in A group overlapped with B group is not as same as that in B group. How to solve this? Thank you very much!
    Last edited by lee_sh; 10-28-2011, 10:21 AM.
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    I guess I do not understand the problem. There will be X number of elements in set A that have overlaps with set B. There will be Y number of elements in set B that overlap with set A. X and Y do not need to be the same number in order to create a Venn diagram.

    Now if you want a more complex relationship; e.g., something along the lines of element 'I' in set A has a relationship to elements 'J' and 'K' in set B ... well then a Venn diagram is not what you are looking for.

    Comment

    • DZhang
      Senior Member
      • Jun 2010
      • 177

      #3
      Lee_sh,

      My suggestion is to exclude the "ambiguous" peaks from your lists first, then check 1) the Venn Diagram without the ambiguous peaks; 2) the number of ambiguous peaks. If it represents a small percentage, you may ignore. If it is substantial, you need to fine tune your separation and comparison algorithm.

      Comment

      • kmcarr
        Senior Member
        • May 2008
        • 1181

        #4
        Originally posted by westerman View Post
        I guess I do not understand the problem. There will be X number of elements in set A that have overlaps with set B. There will be Y number of elements in set B that overlap with set A. X and Y do not need to be the same number in order to create a Venn diagram.
        Rick,

        I'd have to respectfully disagree with that statement. The overlapping portions of a Venn diagram contain the elements which sets A and B have in common. Since it is single set of elements who size is a finite integer N; set A contains all N elements and set B contains all N elements.

        Lee_sh's problem is that a Venn diagram is not an appropriate representation for the data as defined. It would be appropriate to display peaks which are common to the two sets, with the stipulation that a peak in set A can only be considered in common with a single peak of set B and vice versa.

        Comment

        • lee_sh
          Junior Member
          • Jul 2011
          • 8

          #5
          Originally posted by westerman View Post
          I guess I do not understand the problem. There will be X number of elements in set A that have overlaps with set B. There will be Y number of elements in set B that overlap with set A. X and Y do not need to be the same number in order to create a Venn diagram.

          Now if you want a more complex relationship; e.g., something along the lines of element 'I' in set A has a relationship to elements 'J' and 'K' in set B ... well then a Venn diagram is not what you are looking for.
          Good answer. Thanks. Maybe I can also use the percentages of each set to draw Venn diagram.

          Comment

          • lee_sh
            Junior Member
            • Jul 2011
            • 8

            #6
            Originally posted by DZhang View Post
            Lee_sh,

            My suggestion is to exclude the "ambiguous" peaks from your lists first, then check 1) the Venn Diagram without the ambiguous peaks; 2) the number of ambiguous peaks. If it represents a small percentage, you may ignore. If it is substantial, you need to fine tune your separation and comparison algorithm.
            Thanks. The "ambigous" peaks(like one peak in A overlaps two peaks in B) are accepted as one possiblity in my study. Someone suggested me to use gene instead peak for comparison.

            Comment

            • lee_sh
              Junior Member
              • Jul 2011
              • 8

              #7
              Originally posted by kmcarr View Post
              Rick,

              I'd have to respectfully disagree with that statement. The overlapping portions of a Venn diagram contain the elements which sets A and B have in common. Since it is single set of elements who size is a finite integer N; set A contains all N elements and set B contains all N elements.

              Lee_sh's problem is that a Venn diagram is not an appropriate representation for the data as defined. It would be appropriate to display peaks which are common to the two sets, with the stipulation that a peak in set A can only be considered in common with a single peak of set B and vice versa.
              Yes. Strictly, Venn diagram may be not suitable for this question if the elements in two sets can not meet the criteria as you discribed. However, the phenomena of one peak overlapping with more is common in ChIP-seq especially histone modifications. Any better method to describe such relationship between two sets?

              Comment

              • westerman
                Rick Westerman
                • Jun 2008
                • 1104

                #8
                Originally posted by kmcarr View Post
                Rick,

                I'd have to respectfully disagree with that statement. The overlapping portions of a Venn diagram contain the elements which sets A and B have in common. Since it is single set of elements who size is a finite integer N; set A contains all N elements and set B contains all N elements.
                You are, of course, correct. I am not sure what I was thinking. I was probably over-thinking because, as you say below...
                Lee_sh's problem is that a Venn diagram is not an appropriate representation for the data as defined...

                Comment

                • kmcarr
                  Senior Member
                  • May 2008
                  • 1181

                  #9
                  Originally posted by lee_sh View Post
                  Yes. Strictly, Venn diagram may be not suitable for this question if the elements in two sets can not meet the criteria as you discribed. However, the phenomena of one peak overlapping with more is common in ChIP-seq especially histone modifications.
                  I don't dispute that the data are typical for the type of experiment performed. My comments were strictly to do with the presentation of the data.
                  Any better method to describe such relationship between two sets?
                  What's wrong with a nicely constructed table?

                  Comment

                  • rory
                    Member
                    • Aug 2008
                    • 28

                    #10
                    We tend to look at this in two ways. One is to look at the percentage of peaks in set A that overlap ones in B, and vice-versa (percentage in B that overlap A). The other way is to merge the peaks, which gives you a common set of (wider) peaks. In your example where two peaks in one set overlap single peak in the other set, you would be left with a single peak that covers all three of them. Then you can do a proper Venn diagram.

                    There are function in our Bioconductor package, DiffBind, that make it easy to do both of these: dba.plotVenn will do the merging and plotting in one step, and dba.overlap will give you the each-way overlap rates of unmerged peaks (and extract the overlapping and non-overlapping sets as well).

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                      by SEQadmin2



                      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                      ...
                      10-14-2026, 09:55 AM
                    • SEQadmin2
                      New Genomics Technologies Take Aim at Long-Standing Limits
                      by SEQadmin2


                      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                      ...
                      09-28-2026, 10:25 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 10-22-2026, 11:13 AM
                    0 responses
                    38 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 10:48 AM
                    0 responses
                    28 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-15-2026, 10:52 AM
                    0 responses
                    41 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    45 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...