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

View source: R/annotation_kegg.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.

See Also

[KEGGREST] [load_kegg_annotations()]


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.