deleteDatasets: Delete a particular set of datasets from a _SNPhood_ object.

Description Usage Arguments Value See Also Examples

View source: R/core.R

Description

deleteDatasets deletes a particular set of datasets from a SNPhood object. Removal is irreversible. It is therefore recommended to save the resulting SNPhood object with a new name because the deleted datasets cannot be recovered.

Usage

1

Arguments

SNPhood.o

Object of class SNPhood

datasets

Numeric or Character or NULL. Default NULL. Datasets that should be used for plotting, either specified as integer (such as 1, value must be between 1 and the total number of datasets as defined in the object) or their annotation (name must appear in the dataset names as obtained via the function annotationDatasets). If set to NULL, all datasets will be considered.

verbose

Logical(1). Default TRUE. Should the verbose mode (i.e., diagnostic messages during execution of the script) be enabled?

Value

an object of class SNPhood with the requested datasets removed from all slots.

See Also

deleteRegions, deleteReadGroups

Examples

1
2
data(SNPhood.o, package="SNPhood")
SNPhood_mod.o = deleteDatasets(SNPhood.o, c(1,2))

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