R/rnaseq-countdata.R

#' R6 class to provide a common interface for count data
#'
#' @param dir folder containing project and sample information
#'
#' @return
#' @export
#'
#' @examples
#' project <- RnaSeqCountDataClass$new(projectdir)
RnaSeqCountDataClass <- R6::R6Class("RnaSeqCountDataClass",

  inherit = AbstractBaseClass,

  public = list(

    counts = NULL,
    identifier = NULL,

    initialize = function(counts, identifier = 'ensembl_id')
    {
      self$counts = counts
      self$identifier = identifier
      invisible(self)
    }
  )
)
hcnh174/hlsgr documentation built on April 7, 2023, 4:02 p.m.