Description Usage Arguments Value Author(s) Examples
The function sums up coverage, numCs and numTs values within each group so one representative sample for each group will be created in a new methylBase object
1 | pool(obj,sample.ids)
|
obj |
|
sample.ids |
a character vector of new sample.ids ex:c("test","control"), should follow the same order as unique treatment vector, and should be equal to the length of the unique treatment vector |
a methylBase
object
Altuna Akalin
1 2 3 4 5 6 7 | library(methylKit)
data(methylKit)
# methylBase.obj has two groups, each group has two samples,
# the following function will pool the samples in each group
# so that each group will be represented by one pooled sample
pooled.methylBase=pool(methylBase.obj,sample.ids=c("test","control"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.