plot_coord: plot_coord

View source: R/plot.R

plot_coordR Documentation

plot_coord

Description

plot_coord

Usage

plot_coord(x, ...)

## S3 method for class 'seurat'
plot_coord(
  x,
  size = 1,
  color = NULL,
  shape = NULL,
  label = NULL,
  expand = NULL,
  ncol = NULL,
  ...
)

## S3 method for class 'Seurat'
plot_coord(
  x,
  size = 1,
  color = NULL,
  shape = NULL,
  label = NULL,
  expand = NULL,
  ncol = NULL,
  ...
)

## S3 method for class 'SingleCellExperiment'
plot_coord(
  x,
  size = 1,
  color = NULL,
  shape = NULL,
  label = NULL,
  expand = NULL,
  ncol = NULL,
  ...
)

## S3 method for class 'data.frame'
plot_coord(
  x,
  size = 1,
  color = NULL,
  shape = NULL,
  label = NULL,
  expand = NULL,
  ncol = NULL,
  ...
)

Arguments

x

object from which to plot coordinates.

...

further arguments passed down to get_coord().

size

size of points in geom_point()

color

color or column to map to color..

shape

shape or column to map to shape.

label

name of column used to label plot (e.g. clusters).

expand

logical; whether to expand one column to show presence/absence.

ncol

number of columns used in facet_wrap.


ddiez/scmisc documentation built on July 21, 2024, 11:35 a.m.