mosaicplot.Assessment {AssessORF} | R Documentation

## Plot Genes by Category and Length

### Description

The `mosaicplot` method for `Assessment` object

### Usage

    ## S3 method for class 'Assessment'
    mosaicplot(x, ...)

### Arguments

`x` | An object of class `Assessment` and subclass `Results`.
`...` | Further `mosaicplot` parameters.

### Details

`mosaicplot.Assessment` plots all the genes in the given `Results` object by category and length. This set of genes includes both the supplied predicted genes as well as open reading frames with proteomics evidence but no predicted start.

The set of genes are separated into ten quantile bins based on the length of the gene/open reading frame. The genes are then plotted by length bin and category in a mosaic format, with each column representing a length bin and each row/block representing a category.

### Value

Invisibly returns the input object `x`

### See Also

`Assessment-class`

### Examples

    mosaicplot(readRDS(system.file("extdata",
                                   "MGAS5005_PreSaved_ResultsObj_Prodigal.rds",
                                   package = "AssessORF")))

[Package AssessORF version 1.0.2 Index]