Remove the specified sites or regions from an object

# S4 method for DsNOMe
removeRegions(.object, indices, type = "sites", reaggregate = TRUE)

Arguments

.object

DsNOMe object

indices

a vector of indices of sites/regions to be removed. Can be numeric, integer or logical.

type

character string specifying a name for the region type (sefault: sites)

reaggregate

redo region aggregation (only has an effect if type is sites and there are aggregated regions in the dataset)

Value

a new DsNOMe object with sites/regions removed

Author

Fabian Mueller