pssm400: PSSM400 feature

Description Usage Arguments Value Note Examples

View source: R/PSSM400.R

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

1
pssm400(pssm_name)

Arguments

pssm_name

name of PSSM Matrix file

Value

feature vector of length 400

Note

if a specific amino acid did not exist in protein then colSums of whole PSSM is computed.

Examples

1
X<-pssm400(system.file("extdata","C7GQS7.txt.pssm",package="PSSMCOOL"))

PSSMCOOL documentation built on Jan. 4, 2022, 5:07 p.m.