filterAlignments: filterAlignments

Description Usage Arguments Value Examples

View source: R/filterAlignments.R

Description

Function for filtering alignments based on filter summary data

Usage

1
2
3
4
5
6
7
8
filterAlignments(
  filter.summary = NULL,
  alignment.data = NULL,
  alignment.folder = NULL,
  format = c("folder", "concatenated"),
  min.alignments = 5,
  overwrite = TRUE
)

Arguments

filter.summary

summary data file from filterSummary

alignment.data

summary data file from alignmentSummary

alignment.folder

folder of alignments to be filtered

format

save format for alignments

min.alignments

minimum number of alignments for a filtered set of data

overwrite

overwrite if file exists?

Value

filters the alignments

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.