Description Usage Arguments Value Examples
View source: R/brownian_motion_package.r
This function will plot a barplot where each bar corresponds to a gene group and the proportion of each bar that is filled with a certain color corresponds to the AIC weight for a given model. Bars are sorted according to which model has the highest weight.
1 2 |
dat |
a wAIC matrix, rows are be gene groups and columns are models |
names |
a vector of names for each model |
col |
a vector of colors, one color corresponding to each model |
title |
name for the barplot |
cex |
character expansion factor |
border |
type of border around each bar in the barplots |
space |
amount of space between bars in the barplot |
names.arg |
names of bars in the barplot |
invisibly returns the ordering of gene groups in the barplot.
1 2 3 4 5 6 7 8 | ## Not run:
data(yeast)
GO.groups.pruned = good.groups(colnames(yeast.homozygote),GO.groups,30)
test_groups = GO.groups[GO.groups.pruned[1:100]]
yeast.test = test.groups(yeast.tree,yeast.homozygote,test_groups,print_names=T)
plot_wAICbarplot(mytest$wAIC,1:7)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.