GetSelacSiteLikelihoods: Calculate site likelihoods under SelAC

Description Usage Arguments Details

View source: R/selac.R

Description

Calculates the likelihoods across sites and across genes under SELAC

Usage

1
2
GetSelacSiteLikelihoods(selac.obj, codon.data.path,
  aa.optim.input = NULL, fasta.rows.to.keep = NULL)

Arguments

selac.obj

An object of class SELAC.

codon.data.path

Provides the path to the directory containing the gene specific fasta files of coding data.

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.

Details

The purpose of this function is to provide the site likelihoods across genes. It is also flexible in that it allows different hypotheses about optimal acids across genes and/or site. The output is a list object, with each list entry designating 1) the tot.likelihood for that gene, and 2) the site likelihoods for that gene.


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