pssm_kld: Compute the Kullback-Leibler Divergence

Description Usage Arguments Value Examples

Description

From a matrix of amino acid frequencies, where the peptide positions are the rows and where the amino acids are the columns and the sum of the rows all are equal to one, calculate the compute the Kullback-Leibler Divergence for each [p_i,res_j]

Usage

1
pssm_kld(PSSM)

Arguments

PSSM

A Position Specific Scoring Matrix of amino acid frequencies

Value

A PSSM of computed Kullback-Leibler Divergences for each [p_i,res_j]

Examples

1
pep_ran(n = 100, k = 9) %>% pssm_freqs %>% pssm_kld

leonjessen/PepTools documentation built on May 29, 2019, 3:40 a.m.