Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cjsifuen
    Junior Member
    • Apr 2013
    • 9

    #1

    Values to use for hierarchical clustering of RNA-seq data with outliers

    Hello,

    I am new to this, and have been unable to find questions/advice related to my situation, so I hope someone can provide some insight.

    I have RNA-seq data that I have processed with the following simplified pipeline:

    fastq --> bowtie2 (mapped to reference transcriptome) --> eXpress (outputs count data, and fpkm) --> limma (count data from eXpress, weighted voom transformation, which gives normalized log2counts with associated precision weights) --> DE transcripts (with log2FC, Avg. Expr, P.Value, etc.)

    The data is from a time-course injury experiment, so I have 0 hr (uninjured), 1 day post-injury, and 2 days post-injury. For each time-point I have 3 replicates. One of the 1 day and 2 day samples look to outliers, so I have down-weighted them in limma using the weighted voom transformation. I really would like to NOT throw away any data, so I kept it.

    I would like to perform hierarchical clusterstering across the time-points and originally wanted to use fpkm values from eXpress, but realized that these values are not weighted and not normalized. Due to the fact that some of the samples might be outliers, I though this might cause an issue in the clustering. So I would like to use normalized, weighted values it possible.

    My questions are:
    1. Which values would be best to use:
    a. mean fpkm from eXpress (non-normalized, non-weighted)
    b. log2FC from limma (normalized, weighted)
    c. Average expression value from limma (normalized, weighted)

    2. If log2FC is suggested, how should I go about clustering since I believe I would only have values for the 1 day and 2 day time-points?

    Thank you,

    Chris
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    I would use the normalized weighted log2 counts from voom().

    Comment

    • cjsifuen
      Junior Member
      • Apr 2013
      • 9

      #3
      Obtain log2 counts from Elist object created with voom()

      Thank you for your quick reply. I will use the log2 counts from voom.

      voom() returns an Elist object. I have been having trouble trying to convert the Elist object, v, to a dataframe. Would you happen to know how this should be done? Or another way I can obtain the log2 counts from the list?

      From close to the beginning to performing the voom transformation:
      Code:
      samples$countf = paste(samples$LibraryName, "count", sep=".")
      samples
      library("edgeR")
      counts = readDGE(samples$countf)$counts
      cpms = cpm(counts)
      keep = rowSums(cpms >1) >=3
      counts = counts[keep,]
      colnames(counts) = samples$shortname
      head( counts[,order(samples$condition)], 5)
      d = DGEList(counts=counts, group=samples$condition)
      d = calcNormFactors(d)
      plotMDS(d, labels=samples$shortname, col=c("darkgreen","blue")[factor(samples$condition)])
      library("limma")
      design = model.matrix(~samples$condition)
      colnames(design) = c("CTRL", "T08", "T16")
      design
      v = voomWithQualityWeights(d, design=design, normalization="none", plot=TRUE)
      Then I tried to convert the Elist object to a dataframe using information from stackoverflow:
      Code:
      vhclust = do.call(rbind.data.frame, v)
      And I received the following error:
      Code:
      Error in (function (..., deparse.level = 1)  : 
        numbers of columns of arguments do not match
      Thanks,

      Chris

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        I'm not entirely sure since I never tried. An EList is a specific type of list containing matrices, so you should be able to use any list method (e.g., names(v)) to get an idea of what if contains. I suspect you want v[["E"]], though.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Today, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        14 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        67 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        47 views
        0 reactions
        Last Post SEQadmin2  
        Working...