# Get base pangenome
pg <- .loadPgExample(geneLoc = TRUE, withGroups = TRUE,
withNeighborhoodSplit = TRUE)
# Get some additional genomes
location <- tempdir()
unzip(system.file('extdata', 'Mycoplasma.zip', package = 'FindMyFriends'),
exdir = location)
genomeFiles <- list.files(location, full.names = TRUE, pattern = '*.fasta')[6:10]
pg2 <- pangenome(genomeFiles, translated = TRUE, geneLocation = 'prodigal')
# Combine the two (too computational heavy to include)
## Not run:
# pg3 <- addGenomes(pg, pg2, nsParam = list(lowerLimit = 0.8))
# ## End(Not run)
Run the code above in your browser using DataLab