R/read_geno.R

Defines functions read.geno

Documented in read.geno

#' Reads .geno file for make_subsets()
#'
#' @param input.file .geno file created by LEA::vcf2geno()
#' @return .geno data frame
#' @export

read.geno <- function(input.file) {
  x = scan(file = input.file, what = "character", skip = 0, sep ="")
  return(as.data.frame(x))
}
gnrobinson/cloneR documentation built on Feb. 8, 2024, 7:46 a.m.