Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/BioGeoBEARS_basics_v1.R
This function extracts the names of the areas in a
tipranges
object. Just a shortcut for
names(tipranges@df)
.
1 |
tipranges |
An object of class |
areanames
, a list of the names of the areas
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
define_tipranges_object
,
areas_list_to_states_list_old
,
areas_list_to_states_list_new
,
tipranges_to_tip_condlikes_of_data_on_each_state
1 2 3 4 5 6 | testval=1
tipranges_object = define_tipranges_object()
tipranges_object
areanames = getareas_from_tipranges_object(tipranges_object)
areanames
|
Loading required package: rexpokit
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase
Attaching package: 'phylobase'
The following object is masked from 'package:ape':
edges
An object of class "tipranges"
numeric(0)
Slot "df":
A B C
tip1 1 0 0
tip2 0 1 0
tip3 0 0 1
[1] "A" "B" "C"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.