FeatureExtract: Extracting sequence-based features.

Description Usage Arguments Value Author(s) Examples

View source: R/FeatureExtract.R

Description

This function generates sequence-based features from protein sequences using five scoring schemes.

Usage

1
2
  FeatureExtract(ProteinSeq, feature = c("AAC", "DAAC", "PAAC", "APAAC", "PCP"), 
                 lambda = 5, w = 0.05)

Arguments

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.

Value

A feature matrix with genes in rows, features in columns

Author(s)

Jingjing Zhai, Chuang Ma

Examples

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)

cma2015/RAP documentation built on Aug. 18, 2019, 8:02 p.m.