compareContext: compareContext

Description Usage Arguments Value

View source: R/linkPatterns.R

Description

Function to compare nucleotides context

Usage

1
2
compareContext(searchContext, findContext, mutationSymbol, alphabet,
  searchMutationSymbol)

Arguments

searchContext

A string with a context (e.g. C.G) This one will act as the known mutation context for linkPatterns function.

findContext

A string with a context (e.g. C.C)

mutationSymbol

A character that stands for the mutation nucleotide (e.g. "." for C.G)

alphabet

A tibble with the nucleotides and their symbols

searchMutationSymbol

A string with symbol that stands for the mutated nucleotide location in the column of the searchContextHeader. (e.g. "." in "G.C")

Value

Boolean if the contexts match or not


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