regions-methods: Get the number of SNP regions for a _SNPhood_ object.

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
data(SNPhood.o, package="SNPhood")
nRegions(SNPhood.o)

SNPhood documentation built on Nov. 8, 2020, 6:22 p.m.