Download the full version of the selected_genotype data, which contains genotypes for 2,504 individuals from the 1000 Genomes Project.
get_full_genotype(
file = "final_1kg_genotype_correct.rds",
tag = "latest",
overwrite = TRUE,
.token = gh::gh_token()
)
#### Preprocessing steps ####
dat <- get("final_1kg_genotype_correct")
dat <- data.table::data.table(dat)
tmp <- file.path(tempdir(),"final_1kg_genotype_correct.rds")
saveRDS(dat,tmp)
piggyback::pb_upload(file = tmp,
repo = "bschilder/ThreeWayTest",
tag = "v0.0.2")
name or vector of names of files to be downloaded. If NULL
,
all assets attached to the release will be downloaded.
tag for the GitHub release to which this data should be attached.
Should any local files of the same name be overwritten?
default TRUE
.
GitHub authentication token, see [gh::gh_token()]
Large data.table of genotype data.
full_genotype <- get_full_genotype()
#> ℹ All local files already up-to-date!
#> Loading final_1kg_genotype_correct.rds into R...