R/calcHeights.R

# calcHeights.R

#' \code{calcHeights} calculate the heights of each residue.
#'
#' The heights of the residues in the sequence logo is proporitional
#' to their frequency in the column
#'
#' @param information the information for the column.
#' @inheritParams calcInformation
#' @return A table of heights for the residues
calcHeights <- function(freqs, information) {
  return(freqs * information)
}
hyginn/shi documentation built on May 6, 2019, 9:53 a.m.