Flexible function for fetching partner data across datasets
Arguments
- ids
A list of ids named by the relevant datasets (see examples) or any other input that can be processed by the
keys
function (including ahclust
dendrogram object.)- threshold
return only edges with at least this many matches. 0 is an option since neuprint sometimes returns 0 weight edges.
- partners
Whether to return inputs or outputs
- bind.rows
Whether to bind data.frames for each dataset together, keeping only the common columns (default
TRUE
for convenience but note that some columns will be dropped).- MoreArgs
Additional arguments in the form of a hierarchical list (expert use; see details and examples).
Details
fancr and fafbseg functions have usually used a >
relationship for the threshold, but here (as of May 2024) it is uniformly a
>=
relationship.
MoreArgs
is structured as a list with a top layer naming datasets
(using the same long names as cf_ids
. The second (lower)
layer names the arguments that will be passed to dataset-specific functions
such as fafbseg::flywire_partner_summary2
and
malevnc::manc_connection_table
.