Description Usage Details Examples
Reads a given fasta file into a PopGenome GENOME object. We assume that the fasta file is aligned. This will not do anything related to associated gff files. This uses the defaults of the PopGenome::readData function: populations = FALSE format = "fasta" For other information, see the PopGenome documentation. If you need something more complex than a simple fasta file loaded, it is recommended to use the PopGenome functions directly.
1 | hf.readData(fasta_file)
|
Note this will load the PopGenome package if needed.
1 2 3 4 5 6 | ## Not run:
fasta_file <- "name_of_aligned.fasta"
pg.object <- hf.readData(fasta_file)
pg.dataframe <- hf.alignment.stats(pg.object)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.