get_individuals | R Documentation |
This function retrieves individual-level information. The data is returned as
a tibble
where each row is an individual of a given
species and the columns are metadata about each individual. See below under
section Value for details about each column. Use the function
get_populations()
to discover the available populations for a species.
get_individuals(
species_name = "homo_sapiens",
population = "1000GENOMES:phase_3:CEU",
verbose = FALSE,
warnings = TRUE,
progress_bar = TRUE
)
species_name |
The species name, i.e., the scientific name, all letters
lowercase and space replaced by underscore. Examples: |
population |
Population name. Find the available populations for a given
species with |
verbose |
Whether to be verbose about the http requests and respective responses' status. |
warnings |
Whether to show warnings. |
progress_bar |
Whether to show a progress bar. |
A tibble
of 5 variables:
Ensembl species name: this is the name used internally
by Ensembl to uniquely identify a species by name. It is the scientific
name but formatted without capitalisation and spacing converted with an
underscore, e.g., 'homo_sapiens'
.
Population.
Description of the population.
Individual identifier.
Individual gender.
get_individuals()
makes GET requests to
/info/variation/populations/:species:/:population_name.
# Get human individuals for populaton "1000GENOMES:phase_3:CEU" (default)
get_individuals()
# Get Finnish individuals ("1000GENOMES:phase_3:FIN")
get_individuals(population = '1000GENOMES:phase_3:FIN')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.