plot the proportion of reads of a given gene map to each transcript

plot_transcript_composition(
  seu,
  gene_symbol,
  group.by = "batch",
  standardize = FALSE,
  drop_zero = FALSE
)

Arguments

seu

A seurat object

gene_symbol

Gene symbol of gene of intrest

group.by

Name of one or more metadata columns to annotate columns by (for example, orig.ident)

drop_zero

Drop zero values

Examples

plot_transcript_composition(human_gene_transcript_seu, "RXRG", group.by = "gene_snn_res.0.6")
#> Warning: Removing 883 cells missing data for features requested
#> Error in FetchData(seu$transcript, vars = transcripts): None of the requested variables found