GetMarginalAllGenes: Get marginal reconstruction all genes

Description Usage Arguments Details

View source: R/marginalRecon.R

Description

Calculates the marginal probability of each codon at all sites across all genes

Usage

1
2
GetMarginalAllGenes(selac.obj, aa.optim.input = NULL,
  fasta.rows.to.keep = NULL, taxon.to.drop, partition.number = NULL)

Arguments

selac.obj

An object of class SELAC.

aa.optim.input

A list of optimal amino acids with each list element designating a character vector for each gene. The optimal amino acids be the MLE from a selac run (default) or a list of user defined optimal A.A.

fasta.rows.to.keep

Indicates which rows to remove in the input fasta files.

taxon.to.drop

A single taxon (defined by number in phy object) to be removed from the reconstruction.

partition.number

If only a single gene is desired to be reconstructed, the input is the partition number in the selac object.

Details

Provides marginal probabilities for all nodes across all genes. The function is fairly simple to use as it only requires as input the selac output object and the working directory that the original analysis took place.


bomeara/selac documentation built on Nov. 11, 2021, 12:37 a.m.