pbWeightsNorm: Normalizes weights computed by pbWeights

Description Usage Arguments Value

Description

This normalizes the pbWeights weight matrix using normalizeWeights then groups by amino acid for 20 x number of position matrix This is used to compute sume of weights for each position

Usage

1
pbWeightsNorm(pb_weights, aln_mat)

Arguments

pb_weights

weights computed from pbWeights function

aln_mat

alignment matrix generated from letterMatrix

Value

list of two elements: (1) matrix of normalized weights grouped by amino acids (20 x number of positions) (2) numeric vector of the sum of weights per positions


omarwagih/siftr documentation built on May 24, 2019, 1:50 p.m.