Skip to content

Commit

Permalink
dontrun bugsigdb examples
Browse files Browse the repository at this point in the history
  • Loading branch information
noriakis committed Apr 18, 2024
1 parent 944e160 commit a3b9852
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions R/external.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
#' @param keyType key type of gene
#' @param argList argument list to pass to refseq()
#' @export
#' @examples
#' cols <- sample(c(1), 6, replace=TRUE)
#' names(cols) <- c("PNKP","ERCC2","ERCC3","IRF3","TP53","MCM6")
#' wg <- list("colors"=cols)
#' refseqWGCNA(wg, keyType="SYMBOL")
#' @return list of biotext class object
refseqWGCNA <- function(wgcna, keyType="ENSEMBL", argList=list()) {
all_cols <- unique(wgcna$colors)
Expand Down
5 changes: 4 additions & 1 deletion R/steps.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ obtain_alliance <- function(geneList, file="GENE-DESCRIPTION-TSV_HUMAN.tsv",
#' @param curate curated articles (TRUE) or search for PubMed (FALSE)
#' if FALSE, same for fetching from PubMed by specified query
#' @export
#' @examples obtain_bugsigdb("Veillonella dispar")
#' @examples
#' \dontrun{
#' obtain_bugsigdb("Veillonella dispar")
#' }
#' @return biotext class object
obtain_bugsigdb <- function(mb_list,
target="title",
Expand Down
4 changes: 3 additions & 1 deletion man/obtain_bugsigdb.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions man/refseqWGCNA.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3b9852

Please sign in to comment.