Open yang-mj opened 2 years ago
Hi @yang-mj,
I'm not sure why that it wouldn't be working for the default value of qSd
but is for others values both less-than or more-than the default.
It's not a parameter I have much experience with, but perhaps @kasperdanielhansen may be able to provide some ideas.
Cheers, Pete
I have no idea to be honest. It computes a quantile of the CpG-specific standard deviations. It looks like you have missing values, and that would result in the quantiles having missing values and stuff failing. But that should be the case no matter what the argument is for qSD, I have no idea how it would work with some values and not with others.
Do you have any super weird contigs, like contigs with very few CpGs in them? If so, I would remove them and try again.
Best, Kasper
On Fri, Apr 1, 2022 at 8:20 PM Peter Hickey @.***> wrote:
Hi @yang-mj https://github.com/yang-mj,
I'm not sure why that it wouldn't be working for the default value of qSd but is for others values both less-than or more-than the default. It's not a parameter I have much experience with, but perhaps @kasperdanielhansen https://github.com/kasperdanielhansen may be able to provide some ideas.
Cheers, Pete
— Reply to this email directly, view it on GitHub https://github.com/hansenlab/bsseq/issues/108#issuecomment-1086426946, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABF2DHZ6M2JOR6X7KRAGNNTVC6HEPANCNFSM5ROON6TA . You are receiving this because you were mentioned.Message ID: @.***>
-- Best, Kasper
Hi All, I am having the same issue while running the tstats. It fails while computing across the sample. I have also tired with estimate.var = "same" but retuned the same error.
@yang-mj, any suggestion whether you were able to fix it?
Thank you, Priya
@priyatamapandey I fixed it by swapping these two groups. What I did was only used symmetric CpG sites with minimum 10x coverage (http://smithlabresearch.org/software/methpipe/) and then followed the bsseq pipeline on bsseq's website. So try to set D1 D2 as either group1 or group2 and it'll probably be fixed
Thank you for your quick reply. I swapped the group as group2 = c("D1","D2") and kept estimate.var = "group2". It did not fail but Is it statistically correct? As in the base documentation it says that two groups being compared (it is always group1 - group2 ) and estimate.var is considers based on the low variability samples.
I am attaching the plot while looking the plot what cutoff to choose and put in dmrFinder function further, any suggestion is appreciated?
Thank you, Priya
I am trying to run the BSmooth.tstat command for 45 treatment cases and 35 control samples. When I used qSD=0.75 and local.correct=TRUE paramters on the smoothed data , I got the following error:
error in evaluating the argument 'args' in selecting a method for function 'do.call': NA/NaN/Inf in foreign function call (arg 2)
while BSmooth.tstat completed successfully when I used a qSD value <= 0.65 or >=0.85 and local.correct=TRUE
Is there any suggestion for choosing qSD and why it failed when I used the default qSD value?
Thank you!