plot {greatR}R Documentation

Visualise registration results

Description

Visualise registration results

Usage

## S3 method for class 'res_greatR'
plot(
  x,
  type = c("result", "original"),
  genes_list = NULL,
  show_rep_mean = FALSE,
  ncol = NULL,
  title = NULL,
  ...
)

## S3 method for class 'dist_greatR'
plot(
  x,
  type = c("result", "original"),
  match_timepoints = TRUE,
  title = NULL,
  ...
)

## S3 method for class 'summary.res_greatR'
plot(
  x,
  type = c("all", "registered"),
  type_dist = c("histogram", "density"),
  genes_list = NULL,
  bins = 30,
  alpha = NA,
  scatterplot_size = c(4, 3),
  title = NULL,
  ...
)

Arguments

x

Input object.

type

Type of plot.

genes_list

Optional vector indicating the gene_id values to be plotted.

show_rep_mean

Whether to show replicate mean values.

ncol

Number of columns in the plot grid. By default this is calculated automatically.

title

Optional plot title.

...

Arguments to be passed to methods (ignored).

match_timepoints

If TRUE, will match query time points to reference time points.

type_dist

Type of marginal distribution. Can be either "histogram" (default), or "density".

bins

Number of bins to use when type_dist = "histogram". By default, 30.

alpha

Optional opacity of the points in the scatterplot.

scatterplot_size

Vector c(width, height) specifying the ratio of width and height of the scatterplot with respect to stretch and shift distribution plots.

Value


[Package greatR version 2.0.0 Index]