Hi all,
I am trying to learn how to use the GENESIS package for one my projects. I've successfully installed the package using:
## source("https://bioconductor.org/biocLite.R")
## biocLite("GENESIS")
And in the GENESIS documentation they have an example that I wanted to try out:
library(GWASTools)
# file path to GDS file
gdsfile <- system.file("extdata", "HapMap_ASW_MXL_geno.gds", package="GENESIS")
# read in GDS data
HapMap_geno <- GdsGenotypeReader(filename = gdsfile)
# create a GenotypeData class object
HapMap_genoData <- GenotypeData(HapMap_geno)
# load saved matrix of KING-robust estimates
data("HapMap_ASW_MXL_KINGmat")
But I couldn't load the data, and got an error message:
Warning message:
In data(HapMap_ASW_MXL_KINGmat) :
data set ‘HapMap_ASW_MXL_KINGmat’ not found
Has anyone else had this problem? Does anyone know how to fix it?
Thanks,
T