I've downloaded code from another programmer, and they have the following:
#' @param gr a GRanges of regions/DMRs/whatever
#' @param HMM a GRanges with ChromHMM annotations (name, itemRgb)
#' @param background a null distribution (universe) whence gr was chosen
#' @param footprint compute BP footprints instead of number of overlaps?
#'
#' @return a data.frame with overlap frequency and color code
#'
#' @export
I recognize the #' as syntax from knitr spin. But I don't understand how it's being used here or what the @
symbol is doing. Please explain.