markerPlot: markerPlot

View source: R/scAnnotation.R

markerPlotR Documentation

markerPlot

Description

Generate plots of interested genes' expression profile.

Usage

markerPlot(
  expr.data,
  coor.df,
  coor.names = c("tSNE_1", "tSNE_2"),
  features = NULL,
  add = T,
  species = "human",
  font.size = 4,
  color = "blue"
)

Arguments

expr.data

A matrix of expression (gene by cell)

coor.df

A data.frame which contains cells' 2D coordinates.

coor.names

A vector indicating the names of two-dimension coordinate used in visualization.

features

A vector of genes to plot.

add

A logical value indicating whether to present the default markers.

species

A character string indicating what species the sample belong to. Only "human"(default) or "mouse" are allowed.

font.size

The size of labels.

color

The color of point.

Value

A list of ggplot obejects for each maker genes.


wguo-research/scCancer documentation built on May 26, 2024, 9:12 p.m.