| DataSpaceMab | R Documentation |
The DataSpaceMab class
The DataSpaceMab class
DataSpaceConnection$getMab()
configA list. Stores configuration of the connection object such as URL, path and username.
studyAndMabsA data.table. The table of available mAbs by study.
mabsA data.table. The table of available mAbs and their attributes.
nabMabA data.table. The table of mAbs and their neutralizing measurements against viruses.
studiesA data.table. The table of available studies.
assaysA data.table. The table of assay status by study.
variableDefinitionsA data.table. The table of variable definitions.
new()Initialize DataSpaceMab object.
See DataSpaceConnection.
DataSpaceMab$new(mabMixture, filters, config)
mabMixtureA character vector.
filtersA list.
configA list.
print()Print the DataSpaceMab object summary.
DataSpaceMab$print()
refresh()Refresh the DataSpaceMab object to update datasets.
DataSpaceMab$refresh()
getLanlMetadata()Applies LANL metadata to mabs table.
DataSpaceMab$getLanlMetadata()
clone()The objects of this class are cloneable with this method.
DataSpaceMab$clone(deep = FALSE)
deepWhether to make a deep clone.
connectDS DataSpaceConnection
## Not run:
# Create a connection (Initiate a DataSpaceConnection object)
con <- connectDS()
# Browse the mAb Grid
con$mabGridSummary
# Filter the grid by viruses
con$filterMabGrid(using = "virus", value = c("242-14", "Q23.17", "6535.3", "BaL.26", "DJ263.8"))
# Filter the grid by donor species (llama)
con$filterMabGrid(using = "donor_species", value = "llama")
# Check the updated grid
con$mabGridSummary
# Retrieve available viruses in the filtered grid
con$mabGrid[, unique(virus)]
# Retrieve available clades for 1H9 mAb mixture in the filtered grid
con$mabGrid[mab_mixture == "1H9", unique(clade)]
# Create a DataSpaceMab object that contains the filtered mAb data
mab <- con$getMab()
mab
# Inspect the `nabMab` field
mab$nabMab
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.