random_query {gprofiler2}R 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()

[Package gprofiler2 version 0.2.3 Index]