istRNAdbGRanges checks whether a GRanges object contains the information expected for a tRNAdb result.

istRNAdbGRanges(x)

# S4 method for GRanges
istRNAdbGRanges(x)

Arguments

x

the GRanges object to test

Value

a logical value

Examples

gr <- import.tRNAdb(organism = "Saccharomyces cerevisiae",
              aminoacids = c("Phe","Ala"),
              anticodons = c("GAA"))
#> Warning: tRNAdb Server seems to be not available.
istRNAdbGRanges(gr)
#> Warning: Input GRanges object does not meet the requirements of the function. The following columns are expected:
#> 'tRNA_length', 'tRNA_type', 'tRNA_anticodon', 'tRNA_seq', 'tRNA_str', 'tRNA_CCA.end', 'tRNAdb_ID', 'tRNAdb', 'tRNAdb_organism', 'tRNAdb_strain', 'tRNAdb_taxonomyID', 'tRNAdb_verified'.
#> [1] FALSE