pssm400 {PSSMCOOL} | R Documentation |
This function firstly normalizes PSSM Matrix by formula:
P-min(P)/max(P)-min(P)
then for any standard amino acid specifies its
position in protein sequence whereby a sub-matrix from PSSM corresponding
to these positions will be extracted, then for this sub-matrix computes
colSums
of its columns to create a vector of length 20, eventually a feature vector of
length 400 will be obtained.
pssm400(pssm_name)
pssm_name |
name of PSSM Matrix file |
feature vector of length 400
if a specific amino acid did not exist in protein then colSums
of whole
PSSM is computed.
X<-pssm400(system.file("extdata","C7GQS7.txt.pssm",package="PSSMCOOL"))