View source: R/data-access-io-prepare.R
| load_network_database | R Documentation |
Type-safe wrapper around load_database() with a network-specific
signature and master-identifier conversion enabled by default.
load_network_database(
id,
version = NULL,
cache_dir = NULL,
case_sensitive = FALSE,
min_score = NULL,
n_top = NULL,
greedy = TRUE,
map_to_symbols = TRUE,
chunk_size = 100000L,
id_mappings = NULL,
ambiguous = c("drop", "error", "first", "expand"),
unmapped = c("drop", "keep", "error"),
output_network_format = c("igraph", "sparse", "legacy"),
network_format = NULL,
verbose = TRUE
)
id |
Catalog identifier from |
version |
Database release specified by the catalog. By default, the
release associated with |
cache_dir |
Cache root. Download functions require an explicit path;
read-only loaders use the package user cache when it is |
case_sensitive |
Preserve identifier case. |
min_score |
Optional minimum network edge score. |
n_top |
Optional number of highest-scoring unique network edges. |
greedy |
Boundary-tie policy used with |
map_to_symbols |
Convert network identifiers to the species master
identifier format. The default, |
chunk_size |
Number of network rows parsed per chunk. |
id_mappings |
Optional object from |
ambiguous, unmapped |
Identifier-mapping policies passed to
|
output_network_format |
Return curated networks as igraph objects, sparse networks, or legacy NEArender adjacency lists. Gene set databases are unaffected. |
network_format |
Deprecated alias for |
verbose |
Report validation, parsing progress, and final object sizes. |
The loaded network. Use manifest() for provenance.
download_network_database(), import_network()
## Not run:
network <- load_network_database("string12_human", n_top = 1000000)
manifest(network)$filters
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.