encodeNstOrderShape: 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.
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
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