Remove genes in a list from cts
I hope someone can help me with this as I just cant figure it out. I have my DESEQ2 object cts, which includes all my genes. Now I only want to look at 100 genes, which are in the list “risk_genes”.
I tried with
cts_new <- cts[cts %in% risk_genes,] but then I am left with 0 genes.
What am I doing wrong?
Thank you so much for any help!!
• 114 views
Read more here: Source link