dot-tpr0: Calculate true positives and positives

Description Usage Arguments Value

Description

.tpr0 calculates the number of true positives and the total number of positives on a tree structure at leaf or node level.

Usage

1
.tpr0(tree, truth = NULL, found = NULL, only.Tip = TRUE)

Arguments

tree

A phylo object

truth

Nodes that have signals (eg. differentally abundant at different experimental conditions.).

found

Nodes that have been found to have signal

only.Tip

A logical value, TRUE or FALSE. If TRUE, true positive rate is calculated at the leaf (tip) level; otherwise it is calculated at node level. The default is TRUE

Value

a vector


markrobinsonuzh/treeAGG documentation built on May 26, 2019, 9:32 a.m.