create_bac: Creation of "PhageSim" dataset for bacteria

Description Usage Arguments Value Examples

View source: R/create_bac.R

Description

Creates a dataset with a specified number of bacteria to use with other functions

Usage

1
create_bac(num = 10, prop_res = 0.5)

Arguments

num

The number of bacteria in the dataset

prop_res

Starting proportion of bacteria that are resistant to antibiotics

Value

A dataset

Examples

1
bac_data = create_bac(num=10, prop_res = 0.5)

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