Learn R Programming

SNPhood (version 1.2.3)

nRegions: Get the number of SNP regions for a SNPhood object.

Description

nRegions is a helper function that returns the number of SNP regions that are defined in the SNPhood object.

Usage

nRegions(SNPhood.o, verbose = FALSE)

Arguments

SNPhood.o
Object of class SNPhood
verbose
Logical(1). Default FALSE. Should the verbose mode (i.e., diagnostic messages during execution of the script) be enabled?

Value

Integer. Number of SNP regions that are defined in the SNPhood object

Examples

Run this code
data(SNPhood.o, package="SNPhood")
nRegions(SNPhood.o)

Run the code above in your browser using DataLab