R/sample-general-cond-trees-outsider.R
sample_gen_out_cond.Rd
Sample trees with same features as original but permuted through the trees
sample_gen_out_cond(observed_data, B)
observed_data | data.table frame with the following columns
|
---|---|
B | number of samples for each individual tree |
data frame with the following columns
unique cluster_id for the sampled cluster
original ID of the given cluster
columns from featureless tree sampling
original identifier
assumes an observed outside infection