kegg_vector_to_df: Convert a potentially non-unique vector from kegg into a...

View source: R/kegg_vector_to_df.R

kegg_vector_to_dfR Documentation

Convert a potentially non-unique vector from kegg into a normalized data frame.

Description

This function seeks to reformat data from KEGGREST into something which is rather easier to use.

Usage

kegg_vector_to_df(vector, final_colname = "first", flatten = TRUE)

Arguments

vector

Information from KEGGREST

final_colname

Column name for the new information

flatten

Flatten nested data?

Details

This could probably benefit from a tidyr-ish revisitation.

Value

A normalized data frame of gene IDs to whatever.

Author(s)

atb


khughitt/EuPathDB documentation built on Nov. 4, 2023, 4:19 a.m.