encodeSeqShape(fastaFileName, shapeMatrix, featureNames, normalize)
fn <- system.file("extdata", "CGRsample_short.fa", package = "DNAshapeR")
pred <- getShape(fn)
featureNames <- c("1-shape")
featureVector <- encodeSeqShape(fn, pred, featureNames)
Run the code above in your browser using DataLab