plotGenderMarkers: Plot sexually dimorphic gender marker genes

plotGenderMarkersR Documentation

Plot sexually dimorphic gender marker genes

Description

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

Usage

plotGenderMarkers(object, ...)

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

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

Arguments

object

Object.

...

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

style

character(1). Plot style.

Value

ggplot.

Note

Currently only Homo sapiens and Mus musculus genomes are supported.

Updated 2022-03-07.

See Also

plotCounts().

Examples

data(
    RangedSummarizedExperiment,
    SingleCellExperiment_splatter,
    package = "AcidTest"
)

## SummarizedExperiment ====
object <- RangedSummarizedExperiment
try({
    plotGenderMarkers(object)
})

## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
try({
    plotGenderMarkers(object)
})

acidgenomics/acidplots documentation built on April 1, 2024, 7:37 p.m.