Hi, I'm trying convert plink files to gds (SNPRelate). I have the files: baep.fam, baep.bed and baep.bim
and the program to convert data is: setwd('C:/Silvano/Incor/Baependi/Dados Baependi/') library(gdsfmt) # versão 0.9.10 library(SNPRelate) # versão 0.9.8 # Arquivos PLINK BED bed.fn <- system.file("C:/Silvano/Incor/Baependi/Dados Baependi/", "baep.bed", package="SNPRelate") bim.fn <- system.file("C:/Silvano/Incor/Baependi/Dados Baependi/", "baep.bim", package="SNPRelate") fam.fn <- system.file("C:/Silvano/Incor/Baependi/Dados Baependi/", "baep.fam", package="SNPRelate") # Convertendo snpgdsBED2GDS(bed.fn, fam.fn, bim.fn, out.gdsfn="C:/Silvano/Incor/Baependi/Dados Baependi/baep.gds", verbose=TRUE) but isn't work. The error is: Start snpgdsBED2GDS ... Erro em snpgdsBED2GDS(bed.fn, fam.fn, bim.fn, out.gdsfn = "C:/Silvano/Incor/Baependi/Dados Baependi/baep.gds", : Cannot open the file . What can I do? What is wrong? Thanks, --------------------------------------------- Silvano Cesar da Costa Universidade Estadual de Londrina Centro de Ciências Exatas Departamento de Estatística Fone: (43) 3371-4346 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.