Skip to content
Snippets Groups Projects
Commit 942d0ecc authored by TRON Kelly's avatar TRON Kelly
Browse files

tp1

parent 70bac5d8
No related branches found
No related tags found
No related merge requests found
# Les données analysées nécessitant beaucoup de RAM, nous allons sélectionner aléatoirement 250000 SNPs et réecrire des fichiers bed, bim, fam
penncath_bed_path = "results/data/penncath.bed"
penncath_bim_path = "results/data/penncath.bim"
penncath_fam_path = "results/data/penncath.fam"
geno <- snpStats::read.plink(penncath_bed_path, penncath_bim_path, penncath_fam_path, select.snps=sample(1:861473, 25000, replace = FALSE ), na.strings = ("-9"))
# Les données analysées nécessitant beaucoup de RAM, nous allons sélectionner aléatoirement 250000 SNPs et réecrire des fichiers bed, bim, fam
penncath_bed_path = "~/Bureau/project_reprod/m2reprod/results/data/penncath.bed"
penncath_bim_path = "~/Bureau/project_reprod/m2reprod/results/data/penncath.bim"
penncath_fam_path = "~/Bureau/project_reprod/m2reprod/results/data/penncath.fam"
geno <- snpStats::read.plink(penncath_bed_path, penncath_bim_path, penncath_fam_path, select.snps=sample(1:861473, 25000, replace = FALSE ), na.strings = ("-9"))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment