dot-IncludeModPosInMot: IncludeModPosInMot Function (GloModAn)

.IncludeModPosInMotR Documentation

IncludeModPosInMot Function (GloModAn)

Description

Return the numeric vector provided with new names to include the position of the modification.

Usage

.IncludeModPosInMot(
  nParamByMotif,
  cBaseLetterForMod,
  cModNameInOutput,
  nModPositionInMotif = 1,
  lExtractOnlyMotifWithMod = TRUE
)

Arguments

nParamByMotif

A numeric vector named with motifs.

cBaseLetterForMod

The name of the base letter of the modified base.

cModNameInOutput

Name for the modification in the output.

nModPositionInMotif

Number representing the position of the modification in the ranges (after resizing if some base pairs were added). Defaults to 1.

lExtractOnlyMotifWithMod

If TRUE, the numeric vector will be returned with only the motifs that include DNA modifications. Defaults to TRUE.


AlexisHardy/DNAModAnnot documentation built on Feb. 27, 2023, 12:03 a.m.