Hello together,
I am new in the R universe and working with RNAseq data from three different cell lines. For analysis I am using edgeR. Now, I have two batches of data. I plotted them all together in a MDS plot. If I compare the controls in each batch per cell line I found a lot of differential expressed genes for one cell lines. To get a better idea of what is going on I would like to create a MDS plot exclusively with this cell line while ignoring the other two. For that I was wondering if I could to some kind of filtering of the DGEList-object. My sample names are factors in "y_keep[["samples"]][["group"]]" But because it is a factor all my trials to sort them were unsuccessful....
Could you help me with this? Thanks :)
Thanks for the fast response :) I have already tried it and received this error massage:
Any further idea?
Thanks a lot!
Well, you don't have an object called
samples
in your session so naturally you get an error. You haven't shown us what is in your data object but I am guessing that you need:You will need to get some familiarity with base R in order to use edgeR comfortably. We assume that people are familiar enough with base R to be able to use the "$" operator. So
y_keep$samples
is a data.frame contained iny_keep
andgroup
is a factor contained iny_keep$samples
.I suggest you do a bit of exploring, for example: