Description Usage Arguments Value Author(s) Examples
View source: R/FeatureExtract.R
This function generates sequence-based features from protein sequences using five scoring schemes.
1 2 | FeatureExtract(ProteinSeq, feature = c("AAC", "DAAC", "PAAC", "APAAC", "PCP"),
lambda = 5, w = 0.05)
|
ProteinSeq |
A list of protein sequences. |
feature |
A vector of encoding schemes. |
lambda |
The lambda parameter for the PAAC and APAAC-related features, default is 5. |
w |
The weighting parameter for the PAAC and APAAC-related features, default is 0.05. |
A feature matrix with genes in rows, features in columns
Jingjing Zhai, Chuang Ma
1 2 3 4 5 6 7 8 | ## Not run:
##generate a list of protein sequence
exampleSeq1 <- "MVQYNFKRITVVPNGKEFVDIILSRTQRQTPTVVHKGYKINRLRQFYMRKVKYTQTNFHAKLSAIIDEFP"
exampleSeq2 <- "MDSESESKLISFISQLVSRNNTDSENISCMIQTISLVSSMDLKSQPKPESKLMSLVTQTISLFNSM"
featureMat <- FeatureExtract(ProteinSeq = list(exampleSeq1, exampleSeq2), feature = "AAC")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.