DepLogo (version 1.2.1)

getPWM: Position weight matrix from DLData object

Description

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

Usage

getPWM(part)

# S3 method for DLData getPWM(part)

Value

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

Arguments

part

the DLData object

Author

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

Examples

Run this code
data <- DLData(c("ACGT", "ATTA"))
getPWM(data)

Run the code above in your browser using DataLab