plot_gene_coverage_by_var: Plot BigWig Coverage for Genes of Interest by a Given...

View source: R/wiggleplotr.R

plot_gene_coverage_by_varR Documentation

Plot BigWig Coverage for Genes of Interest by a Given Variable

Description

Plot BigWig coverage for genes of interest colored by a given variable

Usage

plot_gene_coverage_by_var(
  genes_of_interest = "RXRG",
  cell_metadata,
  bigwig_tbl,
  var_of_interest = "batch",
  values_of_interest = NULL,
  organism = "human",
  edb = NULL,
  heights = c(3, 1),
  scale_y = "log10",
  reverse_x = FALSE,
  start = NULL,
  end = NULL,
  summarize_transcripts = FALSE,
  ...
)

Arguments

genes_of_interest

Gene of interest

cell_metadata

a dataframe with cell metadata from seurat

bigwig_tbl

a tibble with colnames "name", "bigWig", and "sample_id" matching the filename, absolute path, and sample name of each cell in the cell_metadata

var_of_interest

Variable to color by

organism

Organism

edb

ensembldb object

heights

The heights of each row in the grid of plot

...

whtns/seuratTools documentation built on April 9, 2024, midnight