Skip to contents

Search existing data recipes.

Usage

recipeSearch(keywords = character(), cachePath = "ReUseDataRecipe")

Arguments

keywords

character vector of keywords to be matched to the recipe names. If not specified, function returns the full recipe list.

cachePath

A character string for the recipe cache. Must match the one specified in recipeUpdate(). Default is "ReUseDataRecipe".

Value

A recipeHub object.

Examples

recipeSearch()
#> recipeHub with 15 records
#> cache path:  /home/qhu/.cache/R/ReUseDataRecipe 
#> # recipeSearch() to query specific recipes using multipe keywords
#> # recipeUpdate() to update the local recipe cache
#> 
#>            name               
#>   BFC466 | bowtie2_index      
#>   BFC467 | echo_out           
#>   BFC468 | ensembl_liftover   
#>   BFC469 | gcp_broad_gatk_hg19
#>   BFC470 | gcp_broad_gatk_hg38
#>   ...      ...                
#>   BFC476 | hisat2_index       
#>   BFC477 | reference_genome   
#>   BFC478 | salmon_index       
#>   BFC479 | STAR_index         
#>   BFC480 | ucsc_database      
recipeSearch("gencode")
#> recipeHub with 3 records
#> cache path:  /home/qhu/.cache/R/ReUseDataRecipe 
#> # recipeSearch() to query specific recipes using multipe keywords
#> # recipeUpdate() to update the local recipe cache
#> 
#>            name                 
#>   BFC473 | gencode_annotation   
#>   BFC474 | gencode_genome_grch38
#>   BFC475 | gencode_transcripts  
recipeSearch(c("STAR", "index"))
#> recipeHub with 1 records
#> cache path:  /home/qhu/.cache/R/ReUseDataRecipe 
#> # recipeSearch() to query specific recipes using multipe keywords
#> # recipeUpdate() to update the local recipe cache
#> 
#>            name      
#>   BFC479 | STAR_index