plot-methods.Rd
plot method for SeqDiff object
# S4 method for SeqDiff,ANY plot( x, width = 50, title = "auto", xlab = "Nucleotide Position", by = "bar", fill = "firebrick", colors = c(A = "#ff6d6d", C = "#769dcc", G = "#f2be3c", T = "#74ce98"), xlim = NULL )
x | SeqDiff object |
---|---|
width | bin width |
title | plot title |
xlab | xlab |
by | one of 'bar' and 'area' |
fill | fill color of upper part of the plot |
colors | color of lower part of the plot |
xlim | limits of x-axis |
plot
guangchuang yu
fas <- list.files(system.file("extdata", "GVariation", package="ggmsa"), pattern="fas", full.names=TRUE) x1 <- seqdiff(fas[1], reference=1) plot(x1)