deleteReadGroups {SNPhood} | R Documentation |
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.
deleteReadGroups(SNPhood.o, readGroups = NULL, verbose = TRUE)
SNPhood.o |
Object of class |
readGroups |
Character or NULL. Default NULL. Read groups that should be plotted, specified by their name as obtained by the function |
verbose |
Logical(1). Default TRUE. Should the verbose mode (i.e., diagnostic messages during execution of the script) be enabled? |
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.
data(SNPhood.o, package="SNPhood") SNPhood_allelicFractions.o = deleteReadGroups(SNPhood.o, "ambiguous")