The select
verb for loci
select_loci.Rd
An equivalent to dplyr::select()
that works on the genotype
column
of a gen_tibble
, using the mini-grammar available for tidyselect
. The
select
-like evaluation only has access to the names of the loci (i.e. it
can select only based on names, not summary statistics of those loci; look
at select_loci_if()
for that feature.
Arguments
- .data
a
gen_tibble
- .sel_arg
one unquoted expression, using the mini-grammar of
dplyr::select()
to select loci. Variable names can be used as if they were positions in the data frame, so expressions like x:y can be used to select a range of variables.