delim_tbl() returns species partition hypothesis estimated from a prior delimitation hypothesis supplied by the user.
Value
an object of class tbl_df.
Details
delim_tbl() uses information in a species name vector to label each unique sample with a number corresponding to this name.
Examples
# create a tibble
delim_df <- delim_tbl(
labels = geophagus_info$gbAccession,
sppVector = geophagus_info$scientificName,
delimname = "SNAPPER"
)
# check
delim_df
#> # A tibble: 354 × 2
#> labels SNAPPER
#> <chr> <int>
#> 1 MZ504486.1 1
#> 2 MZ504531.1 1
#> 3 MZ504560.1 1
#> 4 MZ504525.1 1
#> 5 MZ504604.1 1
#> 6 MZ504501.1 1
#> 7 MZ504559.1 1
#> 8 MZ504504.1 1
#> 9 MZ504512.1 1
#> 10 MZ504546.1 1
#> # ℹ 344 more rows