plot_hits | R Documentation |
plot_hits
routines to make visually appealing dotplots
plot_hits
The pipeline to plot syntenic hits in parallel
ggdotplot
ggplot2 integrated graphics to produce dotplots
gghits
ggplot2 integrated graphics to produce dotplots
plot_hits(
gsParam,
verbose = TRUE,
type,
dotsPerIn = 256,
quantileThresh = 0.5,
plotSize = 12,
minScore = 50
)
ggdotplot(
hits,
type,
outDir = NULL,
minGenes2plot = 100,
appendName = "synHits",
dotsPerIn = 256,
quantileThresh = 0.5,
plotSize = 12,
minScore = 50,
maxFacets = 10000,
verbose = is.null(outDir)
)
gghits(
hits,
colorByBlks = TRUE,
alpha = ifelse(colorByBlks, 1, 0.25),
useOrder = TRUE,
minScore = 0,
minGenes2plot = 0
)
gsParam |
A list of genespace parameters. This should be created by init_genespace. |
verbose |
logical, should updates be printed to the console? |
type |
character string of "all", "raw", or "syntenic" specifying which type of dotplot to generate. |
dotsPerIn |
integer specifying how fine-scaled the heatmap is |
quantileThresh |
integer specifying the top quantile to be thresholded |
plotSize |
numeric smalled dimension of the plot |
minScore |
numeric, the minimum scoring hit to plot |
hits |
data.table containg hits. See read_allBlast. |
outDir |
file.path where pdf should be written |
minGenes2plot |
integer, the minimum number of hits to plot a chromosome combination.
|
appendName |
character with text to append to the file name |
maxFacets |
integer the maximum number of facets to plot (doesn't plot for genomes with lots of small chrs/scaffolds) |
colorByBlks |
logical, should blocks be colored? |
alpha |
numeric [0-1], specifying the transparency of the points |
useOrder |
logical, should gene order or bp position be used? |
Dotplots here aggregate across proximate positions to reduce file size, especially for very large genomes. XY positions are always in gene-rank order positions. Graphics are built with ggplot2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.