plotCorrectWithGenes: Plot fraction correct

View source: R/markerGenesAndMapping.r

plotCorrectWithGenesR Documentation

Plot fraction correct

Description

This function is a wrapper for plot designd for plotting the fraction correctly mapped for a given gene set. If geneN is the Nth gene, the plotted value indicates correct mapping using genes 1:N.

Usage

plotCorrectWithGenes(
  frac,
  genes = names(frac),
  xlab = "Number of genes in panel",
  main = "All clusters gene panel",
  ylim = c(-10, 100),
  lwd = 5,
  ylab = "Percent of nuclei correctly mapping",
  colLine = "grey",
  ...
)

Arguments

frac

a numeric vector indicating the fraction of cells correctly mapped for a given gene panel

genes

ordered character vector (e.g., of genes) to be plotted; default is names(frac)

...

additional parameters for plot.


AllenInstitute/mfishtools documentation built on July 5, 2023, 4:20 p.m.