R/extract-rsid.R

Defines functions rsid

rsid <- function(bfile) {
  #' Extract rsid from a bfile
  if(inherits(bfile, "pfile")) stop("Not sure what to do with pfiles yet.")
  return(read.bim(bfile)[,2])
}
mattwarkentin/genetools documentation built on Nov. 4, 2019, 6:19 p.m.