subsetDVI {dvir} | R Documentation |
Extract a subset of a DVI dataset
Description
Extract a subset of a DVI dataset
Usage
subsetDVI(dvi, pm = NULL, am = NULL, missing = NULL, verbose = TRUE)
Arguments
dvi |
A |
pm |
A vector with names or indices of victim samples. By default, all are included. |
am |
A vector with names or indices of AM components. By default, components without remaining missing individuals are dropped. |
missing |
A vector with names or indices of missing persons. By default, all missing persons in the remaining AM families are included. |
verbose |
A logical. |
Value
A dviData
object.
Examples
subsetDVI(example2, pm = 1:2) |> plotDVI()
subsetDVI(example2, pm = "V1", am = 1) |> plotDVI()
subsetDVI(example2, missing = "M3") |> plotDVI()
[Package dvir version 3.2.1 Index]