getRevComTable: getRevComTable

Description Usage Arguments

View source: R/getSearchPatterns.R

Description

A function to get the reverse complement of the sent pattern table

Usage

1
2
getRevComTable(table, refHeader, altHeader, contextHeader = NULL,
  idHeader, renameReverse)

Arguments

table

Table were the reverse complement is needed

refHeader

Contains the name of the column with the reference nucleotides.

altHeader

Contains the name of the column with the alternative nucleotides.

contextHeader

A string with the name of the column with the context. The data inside this column is e.g. "C.G" hereby stands the "." for the location of the mutation. What symbol is used to describe this location is arbitrary but be sure to adjust the mutationSymbol accordingly when searching for patterns. The contextHeader is irrelevant if linkPatterns is FALSE.

idHeader

name of the column with the mutation IDs

renameReverse

A Boolean if the id of the process needs to be renamed. This has the effect on the cMut functions that it will no longer treat the reverse complement and non reverse complement as the same. This parameter will irrelevant if searchReverseComplement is FALSE.


AlexJanse/cMut documentation built on May 25, 2019, 4 a.m.