get_feature: GET a Feature

Description Usage Arguments Examples

View source: R/get.R

Description

GET a Feature

Usage

1
get_feature(client, feature_id)

Arguments

client

A ga4gh_client object

feature_id

The ID of the Feature

Examples

1
2
3
4
5
6
7
8
## Create a client
ref_client <- ga4gh_client("http://1kgenomes.ga4gh.org", api_location = "")
## Not run: 
library(magrittr)
## Retrieve the object with id 'id'
feature <- ref_client %>% get_feature("id")

## End(Not run)

Rga4gh documentation built on May 29, 2017, 9:12 a.m.