View source: R/read_fasta_df.R
read.fasta_to_df | R Documentation |
This function reads a fasta file and creates a dataframe with two columns: Header and Sequence. The dataframe is then assigned to the environment with the name same as the fasta file name but without the .fasta extension.
read.fasta_to_df(fasta_file)
fasta_file |
The path to the fasta file to be read. |
This function does not return anything. It assigns the resulting dataframe to the environment.
sample_file_path <- system.file("extdata", "sample_fa.fasta", package = "baseq")
read.fasta_to_df(sample_file_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.