Learn R Programming

simer (version 1.0.0)

simer.Data.Map: simer.Data.Map: To check map file

Description

checking map file.

Usage

simer.Data.Map(
  map,
  out = "simer",
  cols = 1:5,
  header = TRUE,
  sep = "\t",
  verbose = TRUE
)

Value

Output file: <out>.map

Arguments

map

the name of map file or map object(data.frame or matrix).

out

the name of output file.

cols

selected columns.

header

whether the file contains header.

sep

seperator of the file.

verbose

whether to print detail.

Author

Haohao Zhang and Dong Yin

Details

Build date: Sep 12, 2018 Last update: July 25, 2022

Examples

Run this code
# Get map path
mapPath <- system.file("extdata", "01bigmemory", "demo.geno.map", package = "simer")

# Check map data
simer.Data.Map(mapPath, tempfile("outfile"))

Run the code above in your browser using DataLab