-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCompatible_Annotation_DBs.Rd
41 lines (38 loc) · 1.42 KB
/
Compatible_Annotation_DBs.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Ularcirc.R
\name{Compatible_Annotation_DBs}
\alias{Compatible_Annotation_DBs}
\title{Compatible_Annotation_DBs}
\usage{
Compatible_Annotation_DBs(search_term = "")
}
\arguments{
\item{search_term}{: character string of a full or part name of a database.
Will return only those entries that contain this search term. Not case
sensitive.}
}
\value{
Returns a list of compatible annotation databases
}
\description{
Interogates Bioconductor databases and identifies those that are compatible
with Ularcirc. Builds a list of commands that the user can copy to install the
required database on their local computer. Once installed the databases are
immediately available to Ularcirc upon re-starting the shiny app.
This function requires connection to the internet.
}
\examples{
# Get all Bioconductor annotation databases that are compatible with Ularcirc
library('BSgenome')
library('httpuv')
library('AnnotationHub')
# Prepare a dataframe of all compatible annotation databases
\dontrun{ compatible_DBs_human <- Compatible_Annotation_DBs("Hsapiens")
# Example of how to find a relevant database and load the relevant databases:
# This example find hg38 databases
idx <- grep(pattern="hg38", x= compatible_DBs_human[,"genome"])
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install(c(compatible_DBs[idx,]))
}
}