| gettRNAscanSummary {tRNAscanImport} | R Documentation |
gettRNAscanSummary(): creates an DataFrame with aggregated information
from the tRNAscan information.
gettRNAscanPlots(): If ggplot2 is installed a plot of the data
is generated and returned.
plottRNAscan(): If ggplot2 is installed a plot of the data
is generated and ploted directly.
gettRNAscanSummary(gr) plottRNAscan(grl) gettRNAscanPlots(grl) ## S4 method for signature 'GRanges' gettRNAscanSummary(gr) ## S4 method for signature 'GRangesList' plottRNAscan(grl) ## S4 method for signature 'GRangesList' gettRNAscanPlots(grl)
gr |
a GRanges object created by |
grl |
a GRangesList object created with GRanges created by
|
gettRNAscanSummary(): returns a DataFrame with the summarized results
used for plotting internally.
gettRNAscanPlots(): returns a list of ggplots per column of data
returned by gettRNAscanSummary().
plottRNAscan(): the function plots the output of gettRNAscanPlots
directly to the current plotting device.
library(GenomicRanges, quietly = TRUE)
sce <- import.tRNAscanAsGRanges(system.file("extdata",
file = "sacCer3-tRNAs.ss.sort",
package = "tRNAscanImport"))
eco <- import.tRNAscanAsGRanges(system.file("extdata",
file = "eschColi_K_12_MG1655-tRNAs.ss.sort",
package = "tRNAscanImport"))
gettRNAscanSummary(sce)
plots <- gettRNAscanPlots(GRangesList(Sce = sce,
Eco = eco))