Description Usage Arguments Details Value Examples
Subsets a given list of CpGs by another list of CpGs
1 | subset_ref_cpgs(ref_cpgs, gen_cpgs, verbose = TRUE)
|
ref_cpgs |
data.table; A reference set of CpG sites (e.g. Hg19 or mm10) in bedgraph format |
gen_cpgs |
data.table; A subset of CpG sites. Usually obtained from |
verbose |
boolean; flag to output messages or not |
Typically used to reduce the number of potential CpG sites to include only those present in the input files so as to maximize performance and minimize resources. Can also be used for quality control to see if there is excessive number of CpG sites that are not present in the reference genome.
Returns list of CpG sites in bedgraph format
1 2 | ref_cpgs = data.frame(chr="chr1",start=(1:5*2-1), end=(1:5*2))
subset_ref_cpgs(ref_cpgs,ref_cpgs[1:3,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.