getPWM: Position weight matrix from DLData object

Description Usage Arguments Value Author(s) Examples

View source: R/DepLogoR.R

Description

Determines the position weight matrix from a DLData object as relative frequency of symbols in each column of the data slot.

Usage

1
getPWM(part)

Arguments

part

the DLData object

Value

the position weight matrix, where columns correspond to positions (columns of the DLData$data slot) and rows to symbols

Author(s)

Jan Grau <grau@informatik.uni-halle.de>

Examples

1
2
data <- DLData(c("ACGT", "ATTA"))
getPWM(data)

Jstacs/DepLogo documentation built on April 22, 2021, 1:21 a.m.