Title: | Shiny application for interacting with GA4GH-based data servers |
---|---|
Description: | GA4GHshiny package provides an easy way to interact with data servers based on Global Alliance for Genomics and Health (GA4GH) genomics API through a Shiny application. It also integrates with Beacon Network. |
Authors: | Welliton Souza [aut, cre], Benilton Carvalho [ctb], Cristiane Rocha [ctb], Elizabeth Borgognoni [ctb] |
Maintainer: | Welliton Souza <[email protected]> |
License: | GPL-3 |
Version: | 1.29.0 |
Built: | 2024-11-18 03:42:23 UTC |
Source: | https://github.com/bioc/GA4GHshiny |
GA4GHshiny package provides an easy way to interact with data servers based on Global Alliance for Genomics and Health (GA4GH) Genomics API through a Shiny application. It also integrates with Beacon Network.
Welliton Souza, Benilton Carvalho, Cristiane Rocha, Elizabeth Borgognoni
Maintainer: Welliton Souza <[email protected]>
Web application for interacting with GA4GH API data servers.
app(host, orgDb = NA_character_, txDb = NA_character_, serverName = "GA4GHshiny")
app(host, orgDb = NA_character_, txDb = NA_character_, serverName = "GA4GHshiny")
host |
Character vector of an URL of GA4GH API data server endpoint. |
orgDb |
character vector of an org.Db package. |
txDb |
character vector of a TxDb package. |
serverName |
character vector of the server name. Default: GA4GHshiny. |
This application is dependent of which data the server provides trough GA4GH API. If some of tables or graphic charts not appear, the server connected may not provide the necessary data. For example, INFO data.
Shiny application object.
if (interactive()) { library(org.Hs.eg.db) library(TxDb.Hsapiens.UCSC.hg19.knownGene) app("http://1kgenomes.ga4gh.org/", orgDb = "org.Hs.eg.db", txDb = "TxDb.Hsapiens.UCSC.hg19.knownGene") }
if (interactive()) { library(org.Hs.eg.db) library(TxDb.Hsapiens.UCSC.hg19.knownGene) app("http://1kgenomes.ga4gh.org/", orgDb = "org.Hs.eg.db", txDb = "TxDb.Hsapiens.UCSC.hg19.knownGene") }
Summarize a list of genotype data. Variant calls with no coverage (./.) do not enter in this count.
countGenotype(genotype)
countGenotype(genotype)
genotype |
list of integer vectors of length 2. |
data.frame
of 1 row containing the columns below.
ref.homozygous reference homosygous (e.g. 0/0);
alt.heterozygous alternate heterozygous (e.g. 0/1, 1/2);
ref.homozygous reference homozygous (e.g. 1/1, 2/2);
total the sum of the three previous columns.
countGenotype(genotype = list(c(0,0), c(0,1), c(1,2), c(1,1), c(2,2)))
countGenotype(genotype = list(c(0,0), c(0,1), c(1,2), c(1,1), c(2,2)))