powered by
testMRCA performs a permutation test on a set of lineage trees to determine the significance of an annotation's association with the MRCA position of the lineage trees.
testMRCA
testMRCA( graphs, field, root = "Germline", exclude = c("Germline", NA), nperm = 200, progress = FALSE )
An MRCATest object containing the test results and permutation realizations.
list of igraph object containing annotated lineage trees.
string defining the annotation field to test.
name of the root (germline) node.
vector of strings defining field values to exclude from the set of potential founder annotations.
field
number of permutations to perform.
if TRUE show a progress bar.
TRUE
Uses getMRCA and getPathLengths. See plotMRCATest for plotting the permutation distributions.
# \donttest{ # Define example tree set graphs <- ExampleTrees[1:10] # Perform MRCA test on isotypes x <- testMRCA(graphs, "c_call", nperm=10) print(x) # }
Run the code above in your browser using DataLab