Skip to content

Instantly share code, notes, and snippets.

View rbronste's full-sized avatar

rbronste

  • New York
View GitHub Profile
@rbronste
rbronste / SummarizedExperiment_DiffBindcounts
Last active January 22, 2019 01:30
Creating a Ranged Summarized Experiment object from DiffBind matrix output. R packages: DiffBind, BiocParallel
# Create a dba.count object
library("BiocParallel")
library("DiffBind")
parallel=TRUE
BPPARAM=MulticoreParam(4)
ATAC_adult_BNST<- dba(sampleSheet = "Adult_ATAC_BNST1.csv", config=data.frame(AnalysisMethod=DBA_DESEQ2, fragmentSize = 0, th=.05),peakFormat="narrow")