getPWM {DepLogo}R Documentation

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 class 'DLData'
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

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

[Package DepLogo version 1.2.1 Index]