# Using a genome file in this package
genome.file <- file.path(path.package("microseq"),"extdata","small.fna")
# Reading genome and finding orfs
genome <- readFasta(genome.file)
orf.tbl <- findOrfs(genome)
# Compute signatures
signature.full <- orfSignature(orf.tbl)
signature.reduced <- orfSignature(orf.tbl, full = FALSE)
Run the code above in your browser using DataLab