From e2887832b78da7d302dc310a4b6ee5038ba19b8a Mon Sep 17 00:00:00 2001 From: KHAM Chaimae <k24022051@V-PP-47-L-003.salsa.univ-amu.fr> Date: Mon, 28 Oct 2024 13:51:20 +0100 Subject: [PATCH] suppression de fichier --- tp1.R | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 tp1.R diff --git a/tp1.R b/tp1.R deleted file mode 100644 index 5cc42e9..0000000 --- a/tp1.R +++ /dev/null @@ -1,23 +0,0 @@ -wdir="." -dir.create(<dir, showWarnings = F, recursive = T) -setwd(wdir) - -#library(devtools) - -if (!require("BiocManager", quietly = TRUE)) - install.packages("BiocManager") - -if (!require("snpStats", quietly = TRUE)) - BiocManager::install("snpStats") - -if (!require("SNPRelate", quietly = TRUE)) - BiocManager::install("SNPRelate") - -# 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")) - - - -- GitLab