prepareRelationshipsDataframeToCreate: Prepare the relationships dataframe

View source: R/Data_Preparation_Functions.R

prepareRelationshipsDataframeToCreateR Documentation

Prepare the relationships dataframe

Description

Prepare a dataframe containing the relationships of a mully graph, extracted from getEdgesAttribues() function, to be created in Neo4j database. The dataframe contains the relationships' label, extremities nodes' labels, relationships' labels and their property keys.

Usage

prepareRelationshipsDataframeToCreate(g, nodes)

Arguments

g

The mully graph.

nodes

The nodes dataframe, containing the nodes' labels

Value

A dataframe of relationships ready to be created in Neo4j database.

Examples

## Not run: 
#Get the dataframe of nodes to be created
relationships = prepareRelationshipsDataframeToCreate(wntmully,nodes)

## End(Not run)

frankkramer-lab/Multipath2Neo4j documentation built on July 20, 2023, 11:43 p.m.