Last chance! 50% off unlimited learning
Sale ends in
featurePseudoAAComp(seq,d,w=0.05)
featurePseudoAAComp
(d>=1). Coupling between amino acids X(i) and X(i+d) are considered as features.featurePseudoAAComp
. featurePseudoAAComp
returns a matrix representing the pseudo
amino acid composiion. Each row represented features of one sequence coding
by a 20+d dimension numeric vector. The first 20 features indicates the
composition of 20 amino acids. The last d features indicates the coupling
between amino acids X(i) and X(i+d). Coupling value is cacluated by hydrophobicity,
hydrophilicity and mass of amino acids.
if(interactive()){
file = file.path(path.package("BioSeqClass"), "example", "acetylation_K.pos40.pep")
seq = as.matrix(read.csv(file,header=F,sep="\t",row.names=1))[,1]
PAC4 = featurePseudoAAComp(seq,4)
}
Run the code above in your browser using DataLab