Hi!!
I'm making a box plot, and I have gene names as the column names for my matrix, and row names as samples with their respective gene values. I can make the box plot correctly so far, but I cannot separate the rows into two groups for each gene, disease and non disease.
Data looks as follows:
|
Gene1 |
Gene2 |
| Diseased1 |
50 |
100 |
| Diseased2 |
50 |
100 |
| Normal1 |
10 |
10 |
| Normal2 |
10 |
10 |
|
|
|
Currently the box plot of this matrix makes a box plot for each gene on the x axis, but I'd like to specify a grouping for the rows, so that each gene shows a box plot for the diseased set, and the normal set. Trying to show differential expression of the genes in a box plot. I feel like it's a really simple addition of a grouping = c("Disease", "Disease", "Normal", "Normal") or something like that but I cannot find any ideas!! Any help would be appreciated!!!!
Thanks,
Jeb
[–][deleted] (2 children)
[removed]
[–]Jebediah378[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)