Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shuang
    Senior Member
    • Jul 2011
    • 100

    "Global median" function in R/Bioconductor?

    Which function/package in R/Bioconductor can perform global median?

    My input file is a txt separated by tab. My goal is to make/normalize each column to the same median.
  • jmw86069
    Member
    • Jun 2009
    • 31

    #2
    Try the 'limma' package methods like normalizeBetweenArrays(). If given a numeric matrix, it allows a few methods which aren't array-specific. The method 'scale' will scale to the median of each column. But if for comparison you'd like to try quantile or cyclic loess (depending upon the type of data you're analyzing) they're also available.

    Of course, due diligence still applies, in terms of evaluating the method and output of the normalization method, but you're probably watching that closely already. At least some type of boxplot would be good to review, though my preference is something more like a violin plot which shows the shape of the distributions, and can give a clearer view on whether something weird is going on. For violin plots, I use the lattice package, and the panel.violin() extension to the bwplot() function -- but more direct way to test it out is probably to use the vioplot package and its vioplot() function. It would be good to plot before/after normalization to watch exactly what's happening.

    Comment

    Latest Articles

    Collapse

    • mylaser
      Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
      by mylaser
      Kheloyaar: The Complete Guide to Kheloyaar Loginand Kheloyaar ID
      The online gaming industry has transformed the way people enjoy digital entertainment. As technology continues to improve, players are looking for platforms that offer convenience, security, and a seamless user experience. Kheloyaarhas gained attention among users who value an easy-to-use platform, quick account access, and a simple registration process.
      Whether you're exploring Kheloyaar for the first time or want to understand...
      Today, 09:27 PM
    • 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.
      ...
      Today, 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...
      Yesterday, 05:17 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Today, 10:04 AM
    0 responses
    8 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, Yesterday, 10:08 AM
    0 responses
    7 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-07-2026, 11:05 AM
    0 responses
    9 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-02-2026, 11:08 AM
    0 responses
    31 views
    0 reactions
    Last Post SEQadmin2  
    Working...