makeCGorGCbed: Create bed file of CpG or GpC motifs

View source: R/bam2methMats.R

makeCGorGCbedR Documentation

Create bed file of CpG or GpC motifs

Description

Create bed file of CpG or GpC motifs

Usage

makeCGorGCbed(genomeFile, CGorGC)

Arguments

genomeFile

String with path to fasta file with genome sequence

CGorGC

String with motif to be found (either "CG" or "GC")

Value

A bed file with locations of the C in all occurrences of this motif on both strands will be written to the same directory as genomeFile with the extension .CpG.bed or .GpC.bed


jsemple19/methMatrix documentation built on Aug. 19, 2022, 3:57 p.m.