You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm struggling to understand what I did wrong so I am sorry for these naïve recurrent questions! I am getting the error 'stat' needs to be a column of 'bstat@stats' when searching for DMRs. Here is the break down of what I have done : I have 9 bismark cytosine reports, from 3 triplicates. Below an example of my workflow using two triplicates.
An object of type 'BSseq' with
12709820 methylation loci
6 samples
has been smoothed with
BSmooth (ns = 3, h = 200, maxGap = 100000000)
Some assays are HDF5Array-backed
#get coverageBS.cov= getCoverage(bsseq.smooth)
#keep only CpGs covered at least once in all sampleskeepLoci= (rowSums(BS.cov>=1) >=6)
bsseq.smooth.subset01=bsseq.smooth[ keepLoci, ]
bsseq.smooth.subset01
An object of type 'BSseq' with
3228018 methylation loci
6 samples
has been smoothed with
BSmooth (ns = 3, h = 200, maxGap = 100000000)
Some assays are HDF5Array-backed
[BSmooth.tstat] preprocessing ... done in 5127.4 sec
[BSmooth.tstat] computing stats within groups ... done in 4.8 sec
[BSmooth.tstat] computing stats across groups ... done in 14.8 sec
bsseq.calyx.tstat
An object of type 'BSseqTstat' with
3228018 methylation loci
based on smoothed data:
BSmooth (ns = 3, h = 200, maxGap = 100000000)
with parameters
BSmooth.tstat (local.correct = FALSE, maxGap = 100000000)
plot(bsseq.calyx.tstat)
First error I get:
Error in density.default(tstat) : 'x' contains missing values
What are you trying to plot with plot(bsseq.calyx.tstat)? bsseq doesn't have a plot() function but does have plotting capabilities such as plotRegion(); perhaps you meant to use one of these?
As for the second error; are you able to share the bsseq.calyx.tstat object?
Hi,
I'm struggling to understand what I did wrong so I am sorry for these naïve recurrent questions! I am getting the error 'stat' needs to be a column of 'bstat@stats' when searching for DMRs. Here is the break down of what I have done : I have 9 bismark cytosine reports, from 3 triplicates. Below an example of my workflow using two triplicates.
bsseq
pData(bsseq)
bsseq.smooth.subset01
bsseq.calyx.tstat
plot(bsseq.calyx.tstat)
First error I get:
dmrs0 <- dmrFinder(bsseq.calyx.tstat, cutoff = c(-4.6, 4.6))
And the dmr error:
So, what am I doing wrong??
Thank you
Rita
The text was updated successfully, but these errors were encountered: