in CLI
Import your data
Import the .csv file(s) you want to analyse:
-s
saves your imported file in the kiara environment, allowing you to call upon it later using the assigned alias.
Tracking your steps through comments is a fundamental aspect of using kiara, so don't forget to include an accurate description after -c
, as done here with importing_data
.
Choose and run modules
To see the modules (a.k.a operations) available, along with their IDs in kiara and short descriptions, use:
Each operation shown in the list is a task you can perform in kiara, such as creating a table, calculating network metrics, or exporting files. To find out more about any of these modules, use:
This will provide you with documentation on that operation (i.e. what it does), the inputs it requires or allows, and the outputs it creates. The field names provided here – for inputs and outputs – are vital knowledge for running modules, given that:
To run any module, you use:
You don't have to save your output each time ( -s
), but should always leave a comment (-c
).
E.g. create a network for analysis
First you'll need to turn your imported .csv file into a table within kiara:
Now you can create the network using the module assemble.network_graph
.
But first, use kiara operation explain assemble.network_graph
to find out what input decisions are required and what the field name for the output is.
For example, based on the information provided for assemble.network_graph
, you would write the following command if you wanted to create a directed weighted graph where the parallel edges are added together to give the weight to the edge:
This will produce your desired graph in tabular form, under 'Result'. Now you can analyse it using one or more analysis modules. As before, start with kiara operation explain <module ID>
to find out what is needed.
Last updated