Description Usage Arguments Value Examples
View source: R/inflateMethylome.R
Inflate an imported methylation extractor file to contain all cytosine positions. This is useful to obtain a full methylome, including non-covered cytosines, because most methylation extractor programs only report covered cytosines.
1 | inflateMethylome(methylome, methylome.full)
|
methylome |
A |
methylome.full |
A |
The methylome.full
object with added metadata column 'counts'.
1 2 3 4 5 6 7 8 9 | ## Get an example file in BSSeeker format
file <- system.file("extdata","arabidopsis_bsseeker.txt.gz", package="methimpute")
bsseeker.data <- importBSSeeker(file)
bsseeker.data
## Inflate to full methylome (including non-covered sites)
data(arabidopsis_toydata)
full.methylome <- inflateMethylome(bsseeker.data, arabidopsis_toydata)
full.methylome
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.