get_pheno: Get phenotype data

View source: R/get_data.R

get_phenoR Documentation

Get phenotype data

Description

Get phenotype data

Usage

get_pheno(dataset, trait = NULL, url = gnapi_url())

Arguments

dataset

Short abbreviation for a dataset, or name of a group

trait

Optional trait name

url

The URL for the GeneNetwork API

Value

A data frame, with samples as rows and either traits as columns or with the columns being detailed information for a single trait

See Also

get_geno()

Examples

ph1 <- get_pheno("BXDPublish")
ph2 <- get_pheno("BXD", "10002")
ph3 <- get_pheno("HC_M2_0606_P", "1436869_at")

kbroman/GNapi documentation built on July 29, 2023, 10:10 a.m.