Closed marin-e closed 4 years ago
Hi,
Please see https://github.com/sartorlab/methylSig/issues/47#issuecomment-660079842. Summarizing the salient point:
I usually do the following order of calls:
bsseq::read.bismark()
tile_by_windows()
filter_loci_by_coverage()
filter_loci_by_group_coverage()
diff_methylsig()
All those extra loci are regions with no signal in them. The tiling function is a little "dumb" in the sense that it doesn't filter out non-zero regions for you, so you should run filter_loci_by_group_coverage()
after tiling.
Raymond
Hi,
Thank you for the clarification (sorry, I didn't realize that the topic was the same that #47).
Marine
No problem, I'll go ahead and close the issue. Have a nice day.
Hi,
I am using MethylSig v1.0.0 on RRBS data. I have a problem with the tile_by_windows() function. I ran tile_by_windows() on this bsseq object :
Then I applied:
windowed_bs <- tile_by_windows(bs = bs, win_size = 25)
And I obtained the following bsseq object:
I don't understand why I have more methylation loci after tilling than before.
Do you have an explanation?
Thank you