powered by
This function returns the number of unique entities in a GWAS Catalog object.
n(x, unique = FALSE)# S4 method for studies n(x, unique = FALSE)# S4 method for associations n(x, unique = FALSE)# S4 method for variants n(x, unique = FALSE)# S4 method for traits n(x, unique = FALSE)
# S4 method for studies n(x, unique = FALSE)
# S4 method for associations n(x, unique = FALSE)
# S4 method for variants n(x, unique = FALSE)
# S4 method for traits n(x, unique = FALSE)
An integer scalar.
A studies, an associations, a variants, or a traits object.
Whether to count only unique entries (TRUE) or not (FALSE).
TRUE
FALSE
# Determine number of studies n(studies_ex01) # Determine number of associations n(associations_ex01) # Determine number of variants n(variants_ex01) # Determine number of traits n(traits_ex01)
Run the code above in your browser using DataLab