Description Usage Arguments Value Examples
A function that takes in a list of dataframes and convert the numerical number to plot form for easier interpretation, only use this function when there is a reference sequence, if the function used is comparison in pair, plotting them in this way is meaning less
1 | plotter(dataframes)
|
dataframes |
A list that contains all id, sequences, differences. |
Returns a histogram.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Examples 1:
# plot the difference
a <- list()
x <- data.frame(id = c("1","2","3","4","5","6","7","8"),
sequences = c("a", "b", "c", "d", "e", "f", "g", "h"),
difference = c(1,5,3,4,5,6,6,32))
a <- x
plotter(a)
# Examples 2:
# connect this function to seqCompareAsInput.R
library(gscVisualizer)
filePath <- system.file("extdata", "test.fa", package = "gscVisualizer")
a <- seqCompareAsFile("RNA", "noncoding", filePath)
plotter(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.