Learn R Programming

selectSNPs (version 1.0.1)

numberOfLoci: Extract the number of loci on each chromosome

Description

This S4 function is used to extract the number of loci on each chromsome.

Usage

numberOfLoci(object)

# S4 method for Chrom numberOfLoci(object)

# S4 method for Map numberOfLoci(object)

Arguments

object

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

Value

Number of SNP loci by chrommosomes.

Examples

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

# }

Run the code above in your browser using DataLab