--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discussion+unsub...@googlegroups.com.
To post to this group, send email to methylkit_discussion@googlegroups.com.
Visit this group at http://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/groups/opt_out.
there is no way to do that right now, and at the moment we are not planning to implement this functionality. But it is not hard to code, if you have experience in R.Here are couple of alternatives how to achieve your goal:
1)You can check out the code in github, add this functionality and make a pull request or just use it for your own purpose.2)Alternatively, you can just write a new unite() function let's call it unite2() that implements this functionality as an R function that is not part of the package. Example of such a function is here (just an example, it is not doing what you need to do):
https://gist.github.com/al2na/a9ea925fc11af26b9c723) use the unite function in the package with min.per.group=10L, then filter the methylBase object on test group to make so that the test group has at least 15 samples covered for a CpG.Best,Altuna
On Fri, Feb 7, 2014 at 12:39 PM, Kalyan K Pasumarthy <kaly...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
To post to this group, send email to methylkit_...@googlegroups.com.
Visit this group at http://groups.google.com/group/methylkit_discussion.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "methylkit_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to methylkit_discus...@googlegroups.com.
To post to this group, send email to methylkit_...@googlegroups.com.
data=getData(obj)
# this piece gets a TRUE/FALSE data.frame for the test samples
# where TRUE indicates that sample has coveragefilter=!is.na( data[ o...@coverage.index[obj@treatment==0] ])
# filter based on the number of samples in the test group that have
# at least 15 samples covered new.obj=obj[rowSums(filter)>=15,]--