Description Usage Arguments Details Value
View source: R/helper_functions.R
Given a data frame containing coverage statistics and gene information, returns that frame with the rows sorted by alternating gene size (for plotting)
1 | alternate.gene.sort(coverage.statistics)
|
coverage.statistics |
Data frame of coverage statistics |
Genes have varying numbers of associated amplicons and when plotting coverage statistics, if two genes with very low numbers of amplicons are next to each other, the labels will overlap. This function sorts the coverage statistics data frame in a way that places the genes with the most amplicons (largest) next to those with the least (smallest).
Coverage statistics data frame sorted by alternating gene size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.