filterStats: filterStats

Description Usage Arguments Value Examples

View source: R/filterStats.R

Description

Function for gather filtration statistics, used internally by filterSummary

Usage

1
2
3
4
5
6
7
8
filterStats(
  data = NULL,
  filter.name = c("alignment_length", "count_pis", "proportion_pis",
    "proportion_samples"),
  min.alignments = 5,
  filter.values = NULL,
  align.dataset = NULL
)

Arguments

data

alignment summmary data from alignmentSummary function

filter.name

Name of the filter being passed. Only one can be used at a time.

min.alignments

minimum number of alignments to keep a filtration scheme

filter.values

the filter values for the given scheme

align.dataset

select three colors to plot your pie.plot

Value

Alignment statistics for the specific filteration scheme provided

Examples

1
2
3
4
your.tree = ape::read.tree(file = "file-path-to-tree.tre")
astral.data = astralPlane(astral.tree = your.tree,
                          outgroups = c("species_one", "species_two"),
                          tip.length = 1)

chutter/FilterZone documentation built on Dec. 19, 2021, 4:07 p.m.