extrProtPSSMAcc: Profile-based protein representation derived by PSSM...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/523-extractProtPSSMAcc.R

Description

Profile-based protein representation derived by PSSM (Position-Specific Scoring Matrix) and auto cross covariance

Usage

1
extrProtPSSMAcc(pssmmat, lag)

Arguments

pssmmat

The PSSM computed by extrProtPSSM.

lag

The lag parameter. Must be less than the number of amino acids in the sequence (i.e. the number of columns in the PSSM matrix).

Details

This function calculates the feature vector based on the PSSM by running PSI-Blast and auto cross covariance tranformation.

Value

A length lag * 20^2 named numeric vector, the element names are derived by the amino acid name abbreviation (crossed amino acid name abbreviation) and lag index.

Author(s)

Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>

References

Wold, S., Jonsson, J., Sj\"orstr\"om, M., Sandberg, M., & R\"annar, S. (1993). DNA and peptide sequences and chemical processes multivariately modelled by principal component analysis and partial least-squares projections to latent structures. Analytica chimica acta, 277(2), 239–253.

See Also

extrProtPSSM extrProtPSSMFeature

Examples

1
2
3
4
5
6
x = readFASTA(system.file('protseq/P00750.fasta', package = 'BioMedR'))[[1]]
dbpath = tempfile('tempdb', fileext = '.fasta')
invisible(file.copy(from = system.file('protseq/Plasminogen.fasta', package = 'BioMedR'), to = dbpath))
pssmmat = extrProtPSSM(seq = x, database.path = dbpath)
pssmacc = extrProtPSSMAcc(pssmmat, lag = 3)
tail(pssmacc)

BioMedR documentation built on Nov. 17, 2017, 10:08 a.m.