Skip to contents

Collect information about smarter database status and returns values in a list

Usage

get_smarter_info()

Value

a list object with SMARTER database information

About SMARTER database info endpoint

The info endpoint contains information about the status of the database

KeywordContent
last_updatedwhen the SMARTER database was last updated
versionSMARTER database version (see the README in ftp site)
plink_specietrack the specie specific parameters to generate genotypes using plink
working_assembliesthe source of variant positions and genotypes

Those information are required to understand if your genotypes are updated or not. For example, if the SMARTER database current version and last_updated are more recent than your genotype file, you could retrive information on samples not included in the genotype file. In such case, you have to download a more recent copy from SMARTER database from the FTP site. The plink_specie is a nested list which contains the plink species options used to generate the genotype data. if you want to modify a genotype file to be compatible to the SMARTER database you may want to use the same specie options

Examples

smarter_status <- get_smarter_info()
smarter_version <- smarter_status$version