plot_all: Plots the bacteria and phage

Description Usage Arguments Value Examples

View source: R/plot_all.R

Description

Plots the current position and status of the bacteria and phage

Usage

1
plot_all(data_bac, data_pha, size = 100, legend = F, title = NULL)

Arguments

data_bac

The dataset containing the bacteria information

data_pha

The dataset containing the phage information

size

The size of the space within which to place the bacteria and phage. Must be the same as the one used to place them.

legend

Logical. If TRUE, will add a legend to the topright of the plots. Default is FALSE.

title

Optional. If a string is provided, this will be rendered as the title of the plot.

Value

A plot

Examples

1
plot_all(data_bac, data_pha, size=100)

qleclerc/spatial_phage documentation built on Dec. 4, 2020, 10:11 p.m.