Skip to contents

simple utility to process output of edamize into a data.frame

Usage

mkdf(x)

Arguments

x

a data.frame as produced by edamize (returned as-is), or a legacy list

Note

dplyr::distinct is run on the result

Examples

df <- data.frame(uri = "http://edamontology.org/topic_3308",
                 tm  = "Transcriptomics", stringsAsFactors = FALSE)
mkdf(df)  # data.frame input is passed through unchanged
#>                                  uri              tm
#> 1 http://edamontology.org/topic_3308 Transcriptomics