| load_ndex_network | R Documentation |
Parse a previously downloaded CX2/CX artifact and project it into
NEArender's simple undirected network model. Loading is strictly offline.
Node identifiers come from the explicitly selected CX node attribute;
direction, visual styles, and unselected attributes remain in the raw
artifact rather than being guessed into the analytical network. Reciprocal
and duplicate edges are collapsed by import_network().
load_ndex_network(
resource,
species,
input_id_format = master_id_format(species),
cache_dir = NULL,
snapshot = NULL,
format = c("auto", "cx2", "cx"),
node_key = "name",
score_column = NULL,
max_bytes = 1e+09,
output_network_format = c("igraph", "sparse", "legacy"),
min_score = NULL,
n_top = NULL,
greedy = TRUE,
case_sensitive = FALSE,
verbose = TRUE,
id_mappings = NULL,
ambiguous = c("error", "drop", "first", "expand"),
unmapped = c("keep", "drop", "error"),
server = NULL
)
resource |
One cached NDEx UUID, one catalog row, or a local CX/CX2 artifact path. A path need not reside in the NEArender cache. |
species |
Required species declaration passed to |
input_id_format |
Submitted node identifier format. It defaults to the
species master format and must be explicit when |
cache_dir |
Cache root used when |
snapshot |
Optional cached snapshot identifier. By default the most recently downloaded snapshot pointer is used. |
format |
Exchange format. |
node_key |
CX node identifier field. Use |
score_column |
Optional scalar numeric CX edge attribute to retain as the canonical NEArender edge weight. |
max_bytes |
Maximum raw artifact size accepted for in-memory JSON parsing. |
output_network_format |
Return an igraph, sparse, or legacy NEArender network. |
min_score, n_top, greedy |
Edge filtering passed to |
case_sensitive |
Preserve identifier case. |
verbose |
Report import dimensions. |
id_mappings |
Optional object from |
ambiguous, unmapped |
Identifier mapping policies passed to
|
server |
NDEx server root or REST root. Defaults to the public NDEx server. Redirects are not followed. Internet-facing callers must allow-list trusted HTTPS origins rather than passing an arbitrary user-supplied URL. |
A normalized NEArender network with NDEx acquisition and projection
provenance available through manifest().
download_ndex_network(), search_ndex_networks(),
import_network()
## Not run:
download_ndex_network("f71ab602-97f0-11eb-9e72-0ac135e8bacf")
network <- load_ndex_network(
"f71ab602-97f0-11eb-9e72-0ac135e8bacf",
species = "human", node_key = "name"
)
manifest(network)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.