IUPAC2Matrix {TFBSTools}R Documentation

IUPAC2Matrix

Description

Convert a IUPAC string into a Postion Weight Matirx

Usage

  IUPAC2Matrix(x)

Arguments

x

The IUPAC string.

Details

The mapping between IUPAC Extended Genetic Alphabet and the DNA bases letters are from IUPAC_CODE_MAP in Biostrings package.

Value

A matrix with position weight.

Author(s)

Ge Tan

Examples

  x <- "RMGNV"
  IUPAC2Matrix(x)


[Package TFBSTools version 1.32.0 Index]