alternate.gene.sort {varitas} | R Documentation |
alternate.gene.sort
Description
Given a data frame containing coverage statistics and gene information, returns that frame with the rows sorted by alternating gene size (for plotting)
Usage
alternate.gene.sort(coverage.statistics)
Arguments
coverage.statistics |
Data frame of coverage statistics |
Details
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).
Value
Coverage statistics data frame sorted by alternating gene size
[Package varitas version 0.0.2 Index]