Plot Trait Attribute | R Documentation |
Convert a list with trait attributes to a matrix where each collumn is a trait attribute and each row a genome. Presence or absence is indicated with either a zero (0) or one (1).
Plot the expression profile for all genomes expressing that attribute. For each annotation a separate plot is created where the thick black line represents the mean expression of all genomes with that annotation. The dashed blue and red lines represent the mean + 0.5*sd and the mean - 0.5 * sd, respectively.
Traitattributes_To_Sbsmatrix(trait.attributes, genomes) Plot_Trait_Attribute_Expression( trait.attribute = "M00793_1", trait.attributes.pruned, RNAseq.data )
trait.attributes |
The full list of all trait attributes |
genomes |
A vector containing the names of all genomes present in the sample. |
trait.attribute |
The name of the trait attribute (as character string) |
RNAseq.data |
Collection of multple components, include RNA seq data,
annotations, etc. See |
JJM van Steenbrugge
JJM van Steenbrugge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.