addFacileAssaySet | R Documentation |
Once a FacileDataSet has been created and initialized, either via a
low-level call to initializeFacileDataSet()
, or a call to
as.FacileDataSet()
over a list of BiocAssayContainers, you can add more
assays (i.e. RNA-seq, microarray, etc.) to the FacileDataSet using this
function.
addFacileAssaySet(
x,
datasets,
facile_assay_name,
facile_assay_type,
facile_feature_type = NULL,
facile_assay_description = NULL,
facile_feature_info,
storage_mode = .storage.modes,
chunk_rows = 5000,
chunk_cols = "ncol",
chunk_compression = 4,
assay_name = NULL,
warn_existing = FALSE,
add_sample_covariates = TRUE,
covariate_def = NULL
)
x |
The |
datasets |
list of |
facile_assay_name |
the name of the assay in the source dataset object |
facile_assay_type |
string indicating the assay_type ('rnaseq', 'affymetrix', etc.) |
facile_feature_type |
a string indicating the universe the features in
this can be anything, but certain identifiers are special like |
facile_feature_info |
a |
storage_mode |
either |
chunk_rows |
the first entry in the |
chunk_cols |
the second entry in the |
chunk_compression |
the |
assay_name |
the assay name in the data containers provided in the
|
facie_assay_description |
a string that allows the caller to provide a "freeform" description of the assay (platform, protocol, whatever). |
Note that you cannot add assay data piecemeal. That is to say, you can not call this function once to add copynumber data (addFacileAssaySet(..., facile_assay_type = "cnv") to a subset of samples and later call this function again to add copynumber to the rest of the samples. The function will throw an error if facile_assay_type %in% assay_names(x) == TRUE.
a tibble
subset of facile_feature_info
that indicates the new
features that were added to the internal feature_info_tbl
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.