Learn R Programming

Haplin (version 7.3.2)

showSNPnames: Display marker names

Description

This is a help function to extract marker names from an object generated by genDataRead, genDataLoad, genDataGetPart or genDataPreprocess.

Usage

showSNPnames(data.in, n = 5, from, to)

Value

A vector with marker names, as read in from map.file or generated dummy names.

Arguments

data.in

The data as outputted by genDataRead, genDataLoad, genDataGetPart or genDataPreprocess.

n

Number of names to display or "all" (default: 5).

from

From which marker to display (optional, default: from the first).

to

To which marker to display (optional).