object_type_from_url {gwasrapidd}R Documentation

Identify the GWAS object entity from the URL endpoint

Description

This function takes URL endpoints and returns one of: studies, associations, variants or traits.

Usage

object_type_from_url(resource_url)

Arguments

resource_url

A character vector of GWAS URL endpoints.

Value

A character vector of either "studies", "associations", "variants" or "traits".


[Package gwasrapidd version 0.99.18 Index]