geneAgePlotDf: Create data for plotting gene ages

View source: R/estimateGeneAge.R

geneAgePlotDfR Documentation

Create data for plotting gene ages

Description

Create data for plotting gene ages

Usage

geneAgePlotDf(geneAgeDf)

Arguments

geneAgeDf

data frame containing estimated gene ages for seed proteins

Value

A dataframe for plotting gene age plot containing the absolute number and percentage of genes for each calculated evolutionary ages and the corresponding position for writting those number on the plot.

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

estimateGeneAge

Examples

geneAgeDf <- data.frame(
geneID = c("100136at6656", "100265at6656", "101621at6656", "103479at6656"),
cath = c("0000001", "0000011", "0000001", "0000011"),
age = c("07_LUCA", "06_Eukaryota", "07_LUCA", "06_Eukaryota")
)
geneAgePlotDf(geneAgeDf)

BIONF/PhyloProfile documentation built on Nov. 7, 2024, 8:31 p.m.