Header Leaderboard Ad

Collapse

Plotting DGE on R

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plotting DGE on R

    Good night!

    I'm trying to make a plot of my DGE through R from NOISeq + ComplexHeatmap packages.
    I have two dataframes, on the first i have the samples as columns and transcripts as rows. On the seocnd dataframe i have the DGE filtered by p, log2FC, means and theta value.

    I already make a plot with all my list, but i can' filter the data then plot only the differentially expressed genes.
    If i plot directly the DGE data.frame, he is following the colnames (log2fc, theta, prob and means), i want to use the filtered data and make a heatmap based on log to better visualize their pattern of expression.

    Here is how i proceed to plot all my data.frame
    mat = mynoiseq2[sample(nrow(mynoiseq.deg), nrow(mynoiseq.deg)), colnames(mynoiseq2)]
    hb = HeatmapAnnotation(barplot = anno_boxplot(mat2))
    hc = HeatmapAnnotation(barplot = anno_points(rnorm(10))
    mat_scaled = t(apply(mat, 1, scale))
    Heatmap(mat_scaled, col=rev(rainbow(10)), show_row_names=FALSE, show_column_names=TRUE, column_title_side="top",cluster_columns=FALSE, cluster_rows=FALSE, bottom_annotation = hb, top_annotation=hc, column_title="TSH")

    I just want to use the filtered data or filter and normalize.

Latest Articles

Collapse

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 06-01-2023, 08:56 PM
0 responses
9 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-01-2023, 07:33 AM
0 responses
8 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-31-2023, 07:50 AM
0 responses
4 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-26-2023, 09:22 AM
0 responses
11 views
0 likes
Last Post seqadmin  
Working...
X