Learn R Programming

selectSNPs (version 1.0.1)

namesOfChrom: Extract chromosome indexes or names

Description

This S4 function is used to extract chromosome indexes or names for Chrom object, a Map object, or a data frame.

Usage

namesOfChrom(object)

# S4 method for Chrom namesOfChrom(object)

# S4 method for Map namesOfChrom(object)

Arguments

object

An input object, which can be a Chrom object, a Map object, or a data frame.

Value

Chromosome names of the input object.

Examples

Run this code
# NOT RUN {
data("bov80K")
namesOfChrom(bov80K)

# }

Run the code above in your browser using DataLab