Unconfigured Ad

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

    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

          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          54 views
          0 reactions
          Last Post SEQadmin2  
          Working...