Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bio_informatics
    Senior Member
    • Nov 2013
    • 182

    #1

    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
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #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

    • bio_informatics
      Senior Member
      • Nov 2013
      • 182

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

      Comment

      • tomc
        Member
        • Feb 2011
        • 29

        #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

        • bio_informatics
          Senior Member
          • Nov 2013
          • 182

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

          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
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...