Description Usage Arguments Value Examples
View source: R/featureCoverage.R
Provides Coverage metrics for the sample by each genomic features provided by the user
1 | featureCoverage(bs, features, genomebuild)
|
bs |
bsseq object |
features |
list of genomic features, e.g. genes_exons, genes_introns, cpg_islands, cpg_shelves Names are based on the annotatr packages, so all the features provided by the annotatr package will be supported in this function |
genomebuild |
reference alignment, i.e. mm10 or hg38 |
a data frame with genomic feature names and the number of CpG covered in each feature
1 2 3 | directory <- system.file("extdata/bismark_data", package='scmeth')
bs <- HDF5Array::loadHDF5SummarizedExperiment(directory)
featureCoverage(bs, c('cpg_islands', 'cpg_shores'), 'hg38')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.