#' @description Plot overlapped_genome_features graphs bar or line.
#' @importFrom methods slot setGeneric setMethod
#' @param object an \code{\link{overlapped_genome_features-class}} object.
#' @param type a \code{\link[base]{character}} which coulde be "bar" or "line".
#' @details This method is a simple accessor to the stored \code{\link[plotly]{plot_ly}} bar or line plots from the \code{\link{overlapped_genome_features-class}} object.