CollapseStrandsSM {SingleMoleculeFootprinting} | R Documentation |
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.
CollapseStrandsSM(MethSM, context, genome, chr, verbose = TRUE)
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 |
Strand collapsed MethSM