encodeNstOrderShape: Encode n-st order shape features DNAshapeR can be used to...

Description Usage Arguments Value Author(s)

View source: R/encodeSeqShape.R

Description

Encode n-st order shape features DNAshapeR can be used to generate feature vectors for a user-defined model. The model can be a shape model. There are four structural parameters including MGW, Roll, ProT and HelT. The second order shape features are product terms of values for the same category of shape features at adjacent positions.

Usage

1
encodeNstOrderShape(n, shapeMatrix, shapeType)

Arguments

n

A number indicating n-st order shape encoding

shapeMatrix

A matrix containing DNAshape prediction result

shapeType

A character name of shape (MGW, Roll, ProT, HelT) features

Value

featureVector A matrix containing encoded features. shape feature is represented as continuous numbers

Author(s)

Tsu-Pei Chiu


DNAshapeR documentation built on Nov. 8, 2020, 8:04 p.m.