json2csv {vDiveR} | R Documentation |
This function converts DiMA (v5.0.9) JSON output file to a dataframe with 17 predefined columns which further acts as the input for other functions provided in this vDiveR package.
json2csv(
json_data,
host_name = "unknown host",
protein_name = "unknown protein"
)
json_data |
DiMA JSON output dataframe |
host_name |
name of the host species |
protein_name |
name of the protein |
A dataframe which acts as input for the other functions in vDiveR package
inputdf<-json2csv(JSON_sample)