seeker_snp_freq: seeker Single Nucleotide Polymorphism frequency

View source: R/seeker_snp_freq.R

seeker_snp_freqR Documentation

seeker Single Nucleotide Polymorphism frequency

Description

A generic function to search the population frequency of a specific study

Usage

seeker_snp_freq(ID, study = "1000GENOMES:phase_3")

## S3 method for class 'character'
seeker_snp_freq(ID, study = "1000GENOMES:phase_3")

## S3 method for class 'factor'
seeker_snp_freq(ID, study = "1000GENOMES:phase_3")

## S3 method for class 'data.frame'
seeker_snp_freq(ID, study = "1000GENOMES:phase_3")

Arguments

ID

A Single Nucleotide Polymorphism ID ("rs") in character or data.frame

study

A study of population frequency. Default ("1000GENOMES:phase3")

Value

A data.frame with the allel frequency in all the population of the given study

NULL

NULL

NULL

Author(s)

Erick Cuevas-Fernández

Heriberto Manuel Rivera

Source

https://rest.ensembl.org

Examples

seeker_snp_freq("rs56116432")

df <- data.frame(c("rs56116432","rs10878307", "rs7133914", "rs11564148", "rs3761863", "rs10878245"))
seeker_snp_freq(df)


Erickcufe/seekerBio documentation built on May 1, 2024, 1:13 a.m.