View source: R/selection_funks.R
replaceWithOriginalInFigTree | R Documentation |
Uses GNU sed to replace the sanitized gene identifiers with the original ones in the Fig-Tree file - consensus tree generated by Mr. Bayes.
replaceWithOriginalInFigTree(name.mappings, path.2.fig.tree,
path.2.fig.tree.orig = sub(".con.tre", "_original_identifiers.con.tre",
path.2.fig.tree, fixed = TRUE))
name.mappings |
data.frame with two columns 'original', and 'sanitized', holding the pairs of original gene ID to sanitized gene ID. |
path.2.fig.tree |
the valid file path to the tree file to process |
path.2.fig.tree.orig |
the valid file path to the output file in which the original gene identifiers are used. Must not be identical to 'path.2.fig.tree'. Default is 'path.2.fig.tree' with its suffix '.con.tre' modified to '_original_identifiers.con.tre'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.