Description Usage Arguments Value Examples
View source: R/nanoSingleMolecule.R
Convert nanopore tsv to methylation matrix
1 | tsvToMethMat(tsv, genomeGRs, motif, binarise = TRUE)
|
tsv |
A tab serparated values text file where individual motifs have been split. Also accepts a Granges object made from tsv |
genomeGRs |
Genomic Ranges object for the regions to be analysed |
motif |
Motif ("CG" or "GC" to for which the tsv was called) |
binarise |
Convert log likelihoods to binary values: methylated(ln(L) ≥ 2.5): 1; unmethylated(ln(L) ≤ -2.5): 0; inconclusive(-2.5 < ln(L) < 2.5): NA. (default: binarise=TRUE) |
A methylation matrix (reads x motif positions) with binary or log likelihood values
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.