fill_input_data_frame: Fill relation data frame for GSEA input

View source: R/extendr-wrappers.R

fill_input_data_frameR Documentation

Fill relation data frame for GSEA input

Description

Fill 1 for gene in gene set

Usage

fill_input_data_frame(gmt, genes, gene_sets)

Arguments

gmt

A Data Frame with geneSet and gene columns from the GMT file

genes

A vector of genes

gene_sets

A vector of gene sets

Details

See https://github.com/extendr/extendr/issues/612 for how to export DataFrame

## Diagram “'shell Gene Sets ┌───────────┐ First column named 'gene' containing gene name │A0100110100│ 1 = in set Genes │B0100101000│ 0 = not in set │C1011101001│ Due to limitiations with extendr-api v 0.6.0, └───────────┘ function returns a list, and the R package will add the first 'gene' column “'

Value

A Data Frame with the first column of gene and 1 or 0 for other columns of gene sets.

Author(s)

John Elizarraras


bingzhang16/WebGestaltR documentation built on April 25, 2024, 2:12 a.m.