R/dollarsubset.R

#' @name dollar
#' 
#' @title Method override for `'$'` subset function regarding IBRAP S4 object
#' 
#' @exportMethod `$`

setMethod(f = '$', signature = 'IBRAP',
          function(x, 
                   name){
            
            as.list(x@sample_metadata)[[name]]
            
          })
connorhknight/IBRAP documentation built on March 9, 2023, 7:01 p.m.