scan_methylation_specificity {spiky} | R Documentation

## tabulate methylation specificity for multiple spike-in BAM/CRAM files

### Description

Methylation specificity is here defined as methylated_spike_covg/spike_covg

### Usage

    scan_methylation_specificity(files, spike, sep = "_")

### Arguments

`files` | a vector of BAM/CRAM file names
`spike` | a spike-in database
`sep` | the separator for spike-in contig names ("_")

### Value

       a matrix with columns "mean" and "median"

### Examples

    data(spike)
    library(GenomicRanges)
    sb <- system.file("extdata", "example.spike.bam", package="spiky",
                      mustWork=TRUE)
    scan_methylation_specificity(sb, spike=spike)

[Package spiky version 1.0.0 Index]