R/archids_warning.R

Defines functions archids_warning

Documented in archids_warning

#' Get architecture identifiers for the conserved domains
#'
#' Parses SPARCLE database (NCBI) and extract electronic identifiers for 
#' each conserved domain.
#'
#' @usage
#' archids_warning(gene_family)
#' 
#' @param 
#' gene_family A string with conserved domain(s).
#' 
#' @author Jose V. Die
 
archids_warning <- 
function(gene_family) {
  cd <- vector(mode = "character")
  
  for(i in seq_along(gene_family)) {
    cd <- c(cd, getSparcleArchs(gene_family[i]) )
  }
  
  unique(cd)  
}

Try the geneHummus package in your browser

Any scripts or data that you put into this service are public.

geneHummus documentation built on May 2, 2019, 6:19 a.m.