R/DataGeNET_Psy-ngene.R

#' @describeIn ngene Get number of genes
#' @return The number of unique genes
setMethod( "ngene",
    signature = "DataGeNET.Psy",
    definition = function( object ) {
        return( length( unique( object@qresult$c1.Gene_Id ) ) )
    }
)
aGutierrezSacristan/psygenet2r documentation built on Jan. 18, 2024, 4:06 a.m.