pair wise ballgown
0
0
Entering edit mode
zoe.ward • 0
@zoeward-16214
Last seen 4.4 years ago

I have tried to find a beginners guide/tutorial on how to do a paired analysis in Ballgown.
I have several samples pre and post treatment:

ID<- seq(1,170, by=1) 
cond<-rep(c("post","pre"),85) 
pair<- rep(1:85, each = 2) 
design_matrix <- data.frame(id=ID,cond=cond, pair=factor(pair))

For paired analysis, am I right that I run the following? (after creating a ballgown object bg)

pData(bg)=design_matrix
paired<- stattest(bg, feature='transcript', meas='FPKM', covariate='cond', adjustvars='pair')
ballgown differential expression • 1.2k views
ADD COMMENT

Login before adding your answer.

Traffic: 876 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