CollapseStrandsSM {SingleMoleculeFootprinting}R Documentation

Collapse strands in single molecule matrix

Description

The idea here is that (regardless of context) if a C is on the - strand, calling getSeq on that coord (N.b. unstranded, that's the important bit) will give a "G', a "C" if it's a + strand.

Usage

CollapseStrandsSM(MethSM, context, genome, chr, verbose = TRUE)

Arguments

MethSM

Single molecule matrix

context

"GC" or "CG". Broad because indicates just the directionality of collapse.

genome

BSgenome

chr

Chromosome, MethSM doesn't carry this info

verbose

TRUE/FALSE

Value

Strand collapsed MethSM


[Package SingleMoleculeFootprinting version 1.2.0 Index]