DiffBind contrast design - pairwise with independent filtering
0
0
Entering edit mode
@3f196f5b
Last seen 2.1 years ago
France

Hello (again),

I read lots of questions on this, but can't get it to work on my own dataset. I have histone ChIP seq data for: 1) Four different tissues 2) Two treatments

I have now a normalized count of consensus peaks which I obtained as following:

#create K4 db
K4samples <- read.csv('K4samplesheet.csv')
K4 <- dba(sampleSheet=K4samples)
#count coverage for the consensus peaks
K4_count <- dba.count(K4, bUseSummarizeOverlaps=TRUE, bRemoveDuplicates = TRUE, bParallel = TRUE)
#normalize coverage to sequencing depth
K4_norm <- dba.normalize(K4_count)

I would like to create contrasts that allow me to compare for each tissue, the control vs treatment. I am not interested in the intertissue comparisons. I tried design="~Tissue+Condition+Tissue:Condition" and also reorderMeta=list(tissue,treatment) but I am not 100% sure I get the comparisons I need (I'm still learning...). If you could help me, it would be great.

Thank you

Rita

DiffBind • 578 views
ADD COMMENT
0
Entering edit mode

hi rita, could you already solve your problem? :) i'm stuck at the same point - i thought about splitting up my sample sheet for each tissue and then use the condition as contrast but i'm pretty sure that's not the best way to do it

ADD REPLY

Login before adding your answer.

Traffic: 501 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6