Zvariant
instance.R/AllGenerics.R
, R/zvariant-methods.R
groups-methods.Rd
If the particular variant doesn't use groups or doesn't have them assigned, return NA. Note that here 'groups' means the first column in Zonation groups file ('output group').
groups(x) groups(x) <- value # S4 method for Zvariant groups(x) # S4 method for Zvariant,numeric groups(x) <- value
x | Zvariant object. |
---|---|
value | numeric vector of group ids. Vector length must match to the number of features, no recycling is done. |
A numeric vector containing the group ids. If there are no groups, return NA.