This is a convenience function that quickly plots known sexually dimorphic genes, and overall gene experssion for the X and Y chromosomes.

plotGenderMarkers(object, ...)

# S4 method for SummarizedExperiment
plotGenderMarkers(object, style = "wide", ...)

# S4 method for SingleCellExperiment
plotGenderMarkers(object, ...)

Arguments

object

Object.

style

character(1). Plot style.

...

Passthrough to plotCounts(), with the genes argument automatically defined.

Value

ggplot.

Note

Currently only Homo sapiens and Mus musculus genomes are supported.

Updated 2020-02-19.

See also

Examples

data( RangedSummarizedExperiment, SingleCellExperiment, package = "AcidTest" ) ## SummarizedExperiment ==== object <- RangedSummarizedExperiment plotGenderMarkers(object)
#> Some genes failed to map: ENSG00000173674, ENSG00000229807, ENSG00000067048, ENSG00000114374, ENSG00000183878.
## SingleCellExperiment ==== object <- SingleCellExperiment plotGenderMarkers(object)
#> Some genes failed to map: ENSG00000173674, ENSG00000229807, ENSG00000067048, ENSG00000114374, ENSG00000183878.