prune_phylostrata: Given a strata table, remove given strata

prune_phylostrataR Documentation

Given a strata table, remove given strata

Description

The genes in a stratum that is removed will be reassigned to the parent stratum. If the stratum is the root stratum, the genes will instead be reassigned to the child stratum.

Usage

prune_phylostrata(strata_table, strata_names)

Arguments

strata_table

data.frame with the factored column 'mrca_name'

strata_names

character vector of strata to drop

Details

Note that removing strata will result in non-monophyletic branches.


arendsee/phylostratr documentation built on Dec. 31, 2022, 10:22 a.m.