permute: Permute an ontology.

Description Usage Arguments

View source: R/ontology.R

Description

Permute an ontology.

Usage

1
permute(o, method = "genes", recompute_ancestors = TRUE, bins = 100)

Arguments

method

Permutation method. "genes" assigns random genes to each term while preserving the number of annotations per term and total occurences of each gene. "sets" shuffle whole annotate sets among terms with similar number of annotations.

recompute_ancestors

Should ancestors field be recomputed after perturbation?

bins

Number of bins to use for method="sets".

An

ontology object.


SimonLarsen/higana documentation built on April 24, 2020, 7:29 a.m.