R/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])
}
tshmak/Rplink documentation built on July 31, 2018, 5:14 a.m.