#' Sample Metrics
#'
#' @name metrics
#' @family Data Functions
#' @author Michael Steinbaugh
#'
#' @importFrom bcbioBase metrics
#'
#' @inheritParams general
#'
#' @return `data.frame`.
#'
#' @examples
#' metrics(bcb_small) %>% glimpse()
NULL
# Methods ======================================================================
#' @rdname metrics
#' @export
setMethod(
"metrics",
signature("bcbioRNASeq"),
function(object) {
validObject(object)
as.data.frame(colData(object))
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.