decodeBaseatCpG: Transforms the consensus sequence data frame into binary

Description Usage Arguments Value Author(s)

Description

Transfiorms teh consensus sequence data frame into binary based on the type of treatment 'mode' used to convert C>T

Usage

1
decodeBaseatCpG(alignment, mode)

Arguments

alignment

list containing a GAlignmentPairs metadata of the sequences and two data frames of sequences and base qualities

mode

character string indicating the treatment used to convert C>T. 'TCC' corresponds to bisulfite treatment

Value

Invisibly a named matrix with 0 and 1. NA are positions which which were paddded '+' or where another base was observed

Author(s)


David Brown
brownd7@mskcc.org


ndbrown6/EMseq documentation built on Jan. 20, 2021, 2:36 a.m.