CreateAssayObjectR Documentation

Create an Assay object

Description

Create an Assay object from a raw count matrix.

The expected format of the input matrix is variants x time points.

Usage

CreateAssayObject(counts, var.names, key, rep, type, ...)

CreateAssayGrowthObject(counts, var.names, key, rep, na.rmax = 0.5)

Arguments

counts

Unnormalized data such as raw counts

var.names

A vector of variant names

key

A character string for the experiment

rep

Identity of the replicate

type

Type of experiment: growth

...

Additional arguments for create assay object.

na.rmax

Maximum ratio of NA values allowed for a variant to be included in the assay (AssayGrowth)

Details

Non-unique variant names are not allowed. Please make unique before calling this function. By default, variants with more than 0.5 missing (NA) values will be filtered out. You can change the percentage by specifying na.rmax or call FilterData after creating the rosace object.

Value

An Assay object

An AssayGrowth object