This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Differential expression analysis

Hello everyone i need help please: I want to do a gene clustering based on a continous variable in 2 conditions ( when this variable is higher than the median and the second when its lower than the median ), the purpose here is to assess the expression of the genes in those two conditions.

rna-seq r deseq2

1 answer

ifelse(gene1 > median(gene1), 'High', 'Low')

Log in to answer this question.