json2csv: JSON2CSV

View source: R/json2csv.R

json2csvR Documentation

JSON2CSV

Description

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.

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)

vDiveR documentation built on April 4, 2025, 2:08 a.m.