validationFunctions: ValidationFunctions

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Functions to assist in the validation process of creating the metadata.csv file for Hub Resources

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
getSpeciesList(verbose=FALSE)

validSpecies(species, verbose=TRUE)

suggestSpecies(query, verbose=FALSE, op=c("|", "&"))

getValidSourceTypes()

checkSpeciesTaxId(txid, species, verbose=TRUE)

validDispatchClass(dc, verbose=TRUE)

Arguments

species

species to validate (may be single value or list)

query

terms to query. Whether AND or OR is determined by argument op.

verbose

should additional information and useful tips be displayed

op

Should searching of mulitple terms be conditional OR ("|") or AND ("&")

txid

taxonomy id (single value or list)

dc

Dispatch class to validate (may be single value or list)

Details

Value

Author(s)

Lori Shepherd

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
species = getSpeciesList()

# following is TRUE

validSpecies("Homo sapiens")
# followin is FALSE because of starting "h"
validSpecies("homo sapiens")

# can provide multiple, if any are not valid FALSE
# TRUE
validSpecies(c("Homo sapiens", "Canis domesticus"))

suggestSpecies("Canis")

getValidSourceTypes()

checkSpeciesTaxId(1003232, "Edhazardia aedis")
checkSpeciesTaxId(9606, "Homo sapiens")

validDispatchClass("GRanges")

AnnotationHubData documentation built on April 17, 2021, 6:05 p.m.