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

          • SEQadmin2
            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
            by SEQadmin2


            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

            The systematic characterization of the human proteome has
            ...
            07-20-2026, 11:48 AM
          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 12:17 PM
          0 responses
          13 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-23-2026, 11:41 AM
          0 responses
          14 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-20-2026, 11:10 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          37 views
          0 reactions
          Last Post SEQadmin2  
          Working...