Learn R Programming

DepLogo (version 1.0)

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)

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.

Examples

Run this code
# NOT RUN {
data <- DLData(c("ACGT", "ATTA"))
getPWM(data)
# }

Run the code above in your browser using DataLab