nsites-methods: nsites-methods

Description Usage Arguments Value See Also Examples

Description

Returns the number of sites/regions for a given RnBSet object

Usage

1
2
## S4 method for signature 'RnBSet'
nsites(object, type = "sites")

Arguments

object

RnBSet of interest.

type

character singleton. If this is set to "sites" (default), the number of sites is returned. Otherwise, this should be one of region types for for which the number of regions is returned.

Value

integer stating the number of sites/regions. NA if the regions have not been summarized yet.

See Also

meth Retrieving the matrix of methylation values

Examples

1
2
3
library(RnBeads.hg19)
data(small.example.object)
nsites(rnb.set.example)

RnBeads documentation built on March 3, 2021, 2 a.m.