View source: R/get_collection.R
get_collection | R Documentation |
Retrieve a set of networks based on the results of one of the search_*()
function. The function also accepts a numeric vector of Mangal network IDs.
get_collection(x, ...)
## Default S3 method:
get_collection(x, ...)
## S3 method for class 'mgSearchDatasets'
get_collection(x, ...)
## S3 method for class 'mgSearchNetworks'
get_collection(x, ...)
## S3 method for class 'mgSearchReferences'
get_collection(x, ...)
## S3 method for class 'mgSearchNodes'
get_collection(x, ...)
## S3 method for class 'mgSearchTaxonomy'
get_collection(x, ...)
## S3 method for class 'mgSearchInteractions'
get_collection(x, ...)
x |
|
... |
arguments to be passed on to |
Returns a object of class mgNetworksCollection
which is a collection
(actually, a list) of mgNetwork
objects get_network_by_id()
).
get_collection(default)
: Get a collection of networks (default).
get_collection(mgSearchDatasets)
: Get a collection of networks from a mgSearchDatasets
object.
get_collection(mgSearchNetworks)
: Get a collection of networks from a mgSearchNetworks
object.
get_collection(mgSearchReferences)
: Get a collection of networks from a mgSearchReferences
object.
get_collection(mgSearchNodes)
: Get a collection of networks from a mgSearchNodes
object.
get_collection(mgSearchTaxonomy)
: Get a collection of networks from a mgSearchTaxa
object.
get_collection(mgSearchInteractions)
: Get a collection of networks from a mgSearchTaxa
object.
search_datasets()
, search_interactions()
, search_networks()
,
search_nodes()
, search_references()
, search_taxonomy()
.
mg_2 <- get_collection(c(1076:1077), verbose = FALSE)
mg_anemone <- get_collection(search_networks(query='anemone%'), verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.