Skip to contents

Check and get files from JASPAR. Requires the input to be in JASPAR ID format. Uses BiocFileCache to cache downloads.

Usage

check_JASPAR(motif_id, verbose = FALSE)

Arguments

motif_id

A character string specifying the JASPAR motif ID.

verbose

A logical indicating whether to print verbose messages while running the function. (default = FALSE)

Value

A character string specifying the path to the downloaded file. If the input is not in JASPAR ID format, the input is returned as-is.

Examples

check_JASPAR("MA1930.2")
#>                                                               BFC3 
#> "/github/home/.cache/R/BiocFileCache/11d141d65714_MA1930.2.jaspar"