shared_features: Calculate the number and identity of shared features between...

View source: R/functions.R

shared_featuresR Documentation

Calculate the number and identity of shared features between graphs

Description

Returns the number and/or identity of shared nodes and edges between two graphs

Usage

shared_features(x, y = NULL, return = "counts")

Arguments

x

a graph object or list of graph objects

y

a graph object (if x is a graph object)

return

a string indicating if 'counts' or 'features' should be returned

Value

either a list of numbers or list of feature names


elizagrames/redyarn documentation built on June 16, 2022, 2:54 p.m.