Description Usage Arguments Details Value Author(s) See Also Examples
This function imports a standard fasta file
1 |
file |
Specifies the filename/path |
This function imports a standard fasta file. Hereby, it does not matter if the identifier and sequence are alternating or not, as the rows starting with '>' are used as identifer.
The example file was downloaded from here and was then further truncated respective transformed to fasta format:
ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/phase3/data/HG00096/sequence_read/
An object of class fa
containing the sequences. The names correspond to the sequence names given in the fasta file.
Daniel Fischer
print.fa, summary.fa
1 2 3 4 5 | # Define here the location on HDD for the example file
fpath <- system.file("extdata","example.fasta", package="GenomicTools.fileHandler")
# Import the example fasta file
fastaFile <- importFA(file=fpath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.