geneAgePlotDf: Create data for plotting gene ages

Description Usage Arguments Value Author(s) See Also Examples

View source: R/estimateGeneAge.R

Description

Create data for plotting gene ages

Usage

1
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

1
2
3
4
5
6
geneAgeDf <- data.frame(
geneID = c("100136at6656", "100265at6656", "101621at6656", "103479at6656"),
cat = c("0000001", "0000011", "0000001", "0000011"),
age = c("07_LUCA", "06_Eukaryota", "07_LUCA", "06_Eukaryota")
)
geneAgePlotDf(geneAgeDf)

PhyloProfile documentation built on March 27, 2021, 6:01 p.m.