Hi,
I'm having an issue during the 'Counting reads' and 'Performing the differential analysis' step. I am receiving these messages/errors:
## Performing the differential analysis # .... [TRUNCATED]
Warning message:
In data(Condition_counts) : data set ‘Condition_counts’ not found
OR
## Performing the differential analysis ##
> Condition <- dba.analyze(Skin)
converting counts to integer mode
gene-wise dispersion estimates
mean-dispersion relationship
Error in estimateDispersionsFit(object, fitType = fitType, quiet = quiet) :
all gene-wise dispersion estimates are within 2 orders of magnitude
from the minimum value, and so the standard curve fitting techniques will not work.
One can instead use the gene-wise estimates as final estimates:
dds <- estimateDispersionsGeneEst(dds)
dispersions(dds) <- mcols(dds)$dispGeneEst
...then continue with testing using nbinomWaldTest or nbinomLRT
In addition: Warning message:
In data(Condition_counts) : data set ‘Condition_counts’ not found
This is the code I run:
## Reading in the peaksets ##
samples <- read.csv(file.path(system.file("extra", package = "DiffBind"), "CellLine1_CellLine2.csv"))
names(samples)
#Create DBA
Condition <- dba(sampleSheet="CellLine1_CellLine2.csv", dir=system.file("extra", package="DiffBind"))
#plot(Condition)
## Counting reads ##
Condition <- dba.count(Condition, summits=250)
data(Condition_counts)
#plot(Condition)
## Establishing a contrast ##
Condition <- dba.contrast(Condition, categories=DBA_CONDITION, minMembers = 2)
## Performing the differential analysis ##
Condition <- dba.analyze(Condition)
plot(Condition, contrast=1)
I'd appreciate any help in understanding these messages/errors and amending them so, I can perform my differential analysis.