deleteReadGroups: Delete a particular set of read groups.
Description
deleteReadGroups deletes a particular set of read groups from a SNPhood object.
Removal is irreversible. It is therefore recommended to save the resulting SNPhood object with a new name.
Character or NULL. Default NULL. Read groups that should be plotted, specified by their name as obtained by the function annotationReadGroups). If set to NULL, all read groups 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 read counts across read groups (both for the slots readCountsUnbinned and readCountsBinned) replaced by their respective relative fractions. Otherwise identical to the input SNPhood object.