#' @name plotCounts
#' @author Michael Steinbaugh
#' @inherit AcidPlots::plotCounts
#' @note Updated 2022-03-07.
#'
#' @inheritParams AcidRoxygen::params
#' @inheritParams counts
#' @param ... Passthrough to `SummarizedExperiment` method defined in AcidPlots.
#' See `AcidPlots::plotCounts()` for details.
#'
#' @examples
#' data(bcb)
#'
#' ## bcbioRNASeq ====
#' g2s <- AcidGenerics::GeneToSymbol(bcb)
#' geneIds <- head(g2s[["geneId"]])
#' print(geneIds)
#' geneNames <- head(g2s[["geneName"]])
#' print(geneNames)
#' plotCounts(bcb, genes = geneIds, style = "facet")
#' plotCounts(bcb, genes = geneNames, style = "wide")
NULL
## Updated 2019-09-18.
`plotCounts,bcbioRNASeq` <- # nolint
function(object, genes, normalized, ...) {
args <- .normalizedPlotArgs(
object = object,
genes = genes,
normalized = match.arg(normalized),
...
)
do.call(what = plotCounts, args = args)
}
formals(`plotCounts,bcbioRNASeq`)[["normalized"]] <- # nolint
.normalized
#' @rdname plotCounts
#' @export
setMethod(
f = "plotCounts",
signature = signature(object = "bcbioRNASeq"),
definition = `plotCounts,bcbioRNASeq`
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.