read_geno,character-method {kangar00} | R Documentation |
read genotype data from file to one of several available objects, which
can be passed to a GWASdata object GWASdata
.
Description
read genotype data from file to one of several available objects, which
can be passed to a GWASdata object GWASdata
.
Usage
## S4 method for signature 'character'
read_geno(
file.path,
save.path = NULL,
sep = " ",
header = TRUE,
use.fread = TRUE,
use.big = FALSE,
row.names = FALSE,
...
)
Arguments
file.path |
|
save.path |
|
sep |
|
header |
|
use.fread |
|
use.big |
|
row.names |
|
... |
further arguments to be passed to |
Details
If the data set contains rownames specified, set option has.row.names = TRUE
.
Examples
## Not run:
path <- system.file("extdata", "geno.txt", package = "kangar00")
geno <- read_geno(path, save.path = getwd(), sep = " ", use.fread = FALSE, row.names = FALSE)
## End(Not run)
[Package kangar00 version 1.4.2 Index]