import_hmp {geneNR} | R Documentation |
Imports Hapmap genotypic data file
Description
Imports Hapmap genotypic data file
Usage
import_hmp(file_path, header = TRUE, sep = "\t", stringsAsFactors = FALSE)
Arguments
file_path |
Provide the actual path of Hapmap genotypic data file |
header |
by default it will be True |
sep |
by default it will be tab separated |
stringsAsFactors |
by default it will be False |
Value
Hampmap genotypic data
Examples
demo_SNP <- system.file("extdata", "demo_SNP.hmp.txt", package = "geneNR")
hapmap_data <- import_hmp(demo_SNP)
head(hapmap_data)
[Package geneNR version 2.0.1 Index]