detect_context_stranded: Detect sequence context (stranded)

View source: R/detect_context_stranded.R

detect_context_strandedR Documentation

Detect sequence context (stranded)

Description

This function detects NC, TC, WRC, WRCY contexts and returns a vector of -1, 1 and 0 showing the presense and absense of the selected context. -1 and +1 shows the strand that cytosine is on. This function is not optimized for speed.

Usage

detect_context_stranded(X, context = "NC")

Arguments

X

data.frame with the following columns: POS (numeric) & REF ("A", "C", "G", "T")

context

context to be detected, corrently only "NC","TC", "VC","WRC" and "WRCY" (nWRCY = not WRCY )are covered.

Examples

detect_context_stranded(Data,"TC") -> out


rayanramin/RamPack documentation built on Sept. 2, 2023, 1:20 a.m.