random_query: Generate a random gene list for testing.

View source: R/gprofiler2.R

random_queryR Documentation

Generate a random gene list for testing.

Description

This function returns a vector of randomly selected genes from the selected organism.

Usage

random_query(organism = "hsapiens")

Arguments

organism

organism name. Organism names are constructed by concatenating the first letter of the name and the family name. Example: human - 'hsapiens', mouse - 'mmusculus'.

Value

a character vector containing randomly selected gene IDs from the selected organism.

Author(s)

Liis Kolberg <liis.kolberg@ut.ee>

Examples

random_genes <- random_query()

gprofiler2 documentation built on July 9, 2023, 6:06 p.m.