add_plasmid: add_plasmid

Description Usage Arguments Value

View source: R/add_plasmid.R

Description

Adds a plasmid experiment to an analysis in an object of class fgcMeta, as produced by fgcMetadata::start_fgc_project.

Usage

1
add_plasmid(meta, name, indices, slx_id, counts_file, description = NA)

Arguments

meta

An object of class fgcMeta, as produced by fgcMetadata::start_fgc_project.

name

A plasmid sample name.

indices

A character string naming the indices, e.g. 'i701-i502'. Can be NA.

slx_id

The SLX ID. Can be NA if counts_file is not NA.

counts_file

A name for the counts file. Can be NA if slx_id is not NA.

description

A description of the plasmid. Defaults to NA.

Value

Returns an object of class fgcMeta. Also saves data to sample.csv and sequenced_sample.csv in meta$data_dir.


alex-kalinka-cruk/fgcMetadata documentation built on Oct. 29, 2020, 2:53 a.m.