CreateAssayObject | R Documentation |
Create an Assay object from a raw count matrix.
The expected format of the input matrix is variants x time points.
CreateAssayObject(counts, var.names, key, rep, type, ...)
CreateAssayGrowthObject(counts, var.names, key, rep, na.rmax = 0.5)
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) |
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.
An Assay object
An AssayGrowth object