Learn R Programming

geneNR (version 2.0.1)

import_hmp: Imports Hapmap genotypic data file

Description

Imports Hapmap genotypic data file

Usage

import_hmp(file_path, header = TRUE, sep = "\t", stringsAsFactors = FALSE)

Value

Hampmap genotypic data

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

Examples

Run this code
# \donttest{
demo_SNP <- system.file("extdata", "demo_SNP.hmp.txt", package = "geneNR")
hapmap_data <- import_hmp(demo_SNP)
head(hapmap_data)
# }

Run the code above in your browser using DataLab