Usage
plotPosOneAnnotLevInComp_ggplot(annot, colAnnot, selLev, comp, title = NULL, colSel = "red", colAll = "grey74", binwidth = 0.1, geneExpr = NULL, geneRef = NULL, ...)
Arguments
annot
a data.frame of dimensions 'samples x
annotations' with one column corresponding to the
component to trait ("comp" column) and one column
corresponding to the groups of interest ("interest"
column)
colAnnot
the name of a column of the argument
annot
with the groups of interest
selLev
the name of the group of interest
comp
a vector of sample contributions
colSel
the colour of the histogram of the group of
interest, default is "red"
colAll
the colour of the global histogram
geneExpr
a vector of values representative of the
component, e.g the expression of the witness gene of the
component
geneRef
the ID of the feature/gene geneExpr
corresponds to, e.g the name of the witness gene
title
A title for the plot