sis_iterate_single_run: Do a test with a single cutoff value

View source: R/dotest.R

sis_iterate_single_runR Documentation

Do a test with a single cutoff value

Description

Do a test with a single cutoff value

Usage

sis_iterate_single_run(
  cutoff,
  x,
  use_percentile = TRUE,
  phy,
  sisters = sis_get_sisters(phy),
  drop_matches = TRUE,
  warn = FALSE
)

Arguments

cutoff

Value to use as cutoff. If percentile, 0.3 = 30th percentile, etc.

x

Vector of continuous trait values

use_percentile

If TRUE, use cutoff as percentile

phy

A phylo object

sisters

Data.frame from sis_get_sisters()

drop_matches

Drop sister group comparisons with equal numbers of taxa

warn

Some tests will fail with warnings (too few sister groups or other reasons). Setting this to FALSE will suppress those

Value

vector of output from sis_test()


bomeara/sisters documentation built on Oct. 11, 2023, 12:14 a.m.