Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • apporach a huge matrix data: Python or R or MATLAB

    I have file which looks like:
    *tab separated*

    0 0.11692212 0.12066375 0.1096388
    0.11692212 0 0.09939274 0.0684602
    0.12066375 0.09939274 0 0.13651687
    0.1096388 0.0684602 0.13651687 0
    In essence it means:

    A B C D
    A 0 0.11692212 0.12066375 0.1096388
    B 0.11692212 0 0.09939274 0.0684602
    C 0.12066375 0.09939274 0 0.13651687
    D 0.1096388 0.0684602 0.13651687 0
    Value of A against A, value of A against B,
    Value of B against A, and so on..
    Where value for A against B is same as B against A, and further for other columns and row applies the same.

    I have a file with 350X350 or 490X490 matrix numbers, which follow the exact same pattern as above.
    How do I approach such set if I got to have say top 4 or top 10 values with their row and column number.

    Should I proceed with Python [ I work in python] or any statistical tool? R or MATLAB?

    I know this doesn't relate to Bioinformatics, or NGS, but approach sometimes means a lot.
    Last edited by bio_informatics; 09-22-2014, 02:15 PM.
    Bioinformaticscally calm

  • #2
    With such a small matrix it shouldn't much matter which language you use. With python you'd want to use numpy rather than the base functionality, but aside from that you shouldn't have issues in any of the languages. If you're most familiar with python then just use it.

    Comment


    • #3
      Hi,
      Thank you for your reply. I put a sample matrix. I have matrix of more than 350x350, or 490X490.
      Bioinformaticscally calm

      Comment


      • #4
        As dpryan said those are small enough not to matter what you use, whatever is comfortable.
        ( and we did not mean the sample you posted
        but the few hundred square matricies you mention)

        If you have tens of thousands of those ~500^2 matricies to process maybe worry a bit more.

        Comment


        • #5
          @tomc-
          Alright. Shall proceed with numpy then.
          Bioinformaticscally calm

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:37 PM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 06:07 PM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          51 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          68 views
          0 likes
          Last Post seqadmin  
          Working...
          X