powered by
Bar plot of PDG vs phenotype data with presence of taxa in PDG indicated by color
PDGPlot(data, mcl_matrix, OG = "NONE", species_colname, data_colname, xlab = "Taxa", ylab = "Data", ylimit = NULL, tree = NULL, order = NULL, main_title = NULL)
R object of phenotype data
AnalyzeOrthoMCL output
optional parameter, a string with the name of chosen group (OG) to be colored
name of column in phenotypic data file with taxa designations
name of column in phenotypic data file with data observations
string to label barplot's x axis
string to label barplot's y axis
optional parameter to limit y axis
optional parameter (defaults to NULL) Path to tree file, orders the taxa by phylogenetic distribution, else it defaults to alphabetical
vector with order of taxa names for across the x axis (defaults to alpha ordering)
string for title of the plot (defaults to OG)
a barplot with taxa vs phenotypic data complete with standard error bars
# NOT RUN { PDGPlot(pheno_data, mcl_mtrx, 'OG5_126778', 'Treatment', 'RespVar', ylimit=12) # }
Run the code above in your browser using DataLab