json2csv {vDiveR} | R Documentation |
JSON2CSV
Description
This function converts DiMA (v4.1.1) JSON output file to a dataframe with 17 predefined columns which further acts as the input for other functions provided in this vDiveR package.
Usage
json2csv(
json_data,
host_name = "unknown host",
protein_name = "unknown protein"
)
Arguments
json_data |
DiMA JSON output dataframe |
host_name |
name of the host species |
protein_name |
name of the protein |
Value
A dataframe which acts as input for the other functions in vDiveR package
Examples
inputdf<-json2csv(JSON_sample)
[Package vDiveR version 1.2.1 Index]