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 bcbioRNASeq
plotGenderMarkers(object, normalized = c("tpm",
  "sf", "fpkm", "vst", "rlog", "tmm", "rle"), ...)

Arguments

object

Object.

normalized

character(1) or logical(1). Normalization method to apply:

  • FALSE: Raw counts. When using a tximport-compatible caller, these are length scaled by default (see countsFromAbundance argument). When using a featureCounts-compatible caller, these are integer.

tximport caller-specific normalizations:

  • "tpm": Transcripts per million.

Additional gene-level-specific normalizations:

...

Passthrough to SummarizedExperiment method defined in acidplots. See acidplots::plotGenderMarkers() for details.

Value

ggplot.

Note

Updated 2019-09-16.

Methods (by class)

  • SingleCellExperiment: Applies pseudobulk() calculation to average gene expression at sample level prior to plotting.
    Passes ... to SummarizedExperiment method.

See also

Examples

data(bcb) rownames(bcb)[seq_len(2L)] <- c("ENSMUSG00000086503", "ENSMUSG00000069045") plotGenderMarkers(bcb)
#> Using tpm counts.
#> Some genes failed to map: ENSMUSG00000056673, ENSMUSG00000068457.
#> Applying 'log2(x + 1L)' transformation.