CollapseStrandsSM: Collapse strands in single molecule matrix

View source: R/context_methylation_functions.r

CollapseStrandsSMR 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)

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

Value

Strand collapsed MethSM


Krebslabrep/SingleMoleculeFootprinting documentation built on Nov. 19, 2022, 3:56 a.m.