c.cophy: Combine cophylogenetic sets into a multiCophy object

Description Usage Arguments Value Functions Author(s) See Also Examples

View source: R/summary_cophylo.R

Description

Combines cophylogenetic sets into a multiCophy object.

Usage

1
2
3
4
5
## S3 method for class 'cophy'
c(...)

## S3 method for class 'multiCophy'
c(...)

Arguments

...

Values of class 'cophy'

Value

An object of class 'multiCophy'

Functions

Author(s)

Wade Dismukes and Emmanuel Paradis

See Also

'c' generic function

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
h_lambda <- 1.0
h_mu <- 0.3
c_lambda <- 0.0
s_lambda <- 1.0
s_mu <- 0.3
s_her <- 0.0
host_symb_sets <-  sim_cophylo_bdp(hbr = h_lambda,
                                  hdr = h_mu,
                                  sbr = s_lambda,
                                  cosp_rate = c_lambda,
                                  sdr = s_mu,
                                  host_exp_rate = s_her,
                                  time_to_sim = 1.0,
                                  numbsim = 2)
host_symb_sets2 <- sim_cophylo_bdp(hbr = h_lambda,
                                  hdr = h_mu,
                                  sbr = s_lambda,
                                  cosp_rate = c_lambda,
                                  sdr = s_mu,
                                  host_exp_rate = s_her,
                                  time_to_sim = 1.0,
                                  numbsim = 2)
multi_host_symb <- c(host_symb_sets[[1]], host_symb_sets2[[2]])
multi_host_symb_alt <- c(host_symb_sets, host_symb_sets2)

treeducken documentation built on March 3, 2021, 1:11 a.m.