createNearestNetObj | R Documentation |
Create an S4 nnNetObj
createNearestNetObj(
name = "test",
network,
nn_type = NULL,
spat_unit = "cell",
feat_type = "rna",
provenance = NULL,
misc = NULL
)
name |
name of nnNetObj |
network |
igraph object or data.frame containing nearest neighbor information (see details) |
nn_type |
type of nearest neighbor network |
misc |
misc |
igraph and dataframe-like inputs must include certain information. For igraph, it must have, at minimum vertex 'name' attributes and 'distance' edge attribute. dataframe-like inputs must have 'from', 'to', and 'distance' columns
spat_unit
spatial unit of data
feat_type
feature type of data
provenance
origin of aggregated information (if applicable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.