Learn R Programming

PSSMCOOL (version 0.2.4)

pssm400: PSSM400 feature

Description

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.

Usage

pssm400(pssm_name)

Arguments

pssm_name

name of PSSM Matrix file

Value

feature vector of length 400

Examples

Run this code
# NOT RUN {
X<-pssm400(system.file("extdata","C7GQS7.txt.pssm",package="PSSMCOOL"))
# }

Run the code above in your browser using DataLab