Convert gene sets between list and a data frame

list_to_dataframe(list)

dataframe_to_list(df)

Arguments

list

A list of genes.

df

A two-column data frame

Details

In gs_dataframe_to_list(), which column contains genes and which column contains gene sets are automatically checked by the number of genes and gene sets. Basically number of genes should be larger than the number of gene sets.