View source: R/multiple_fasta_files.R
multiple_fasta_files | R Documentation |
A function to write multiple fasta files from a dataframe, grouping based on different variables.
multiple_fasta_files( dataframe, group_by_cols, seq_col = "fasta_seq", header_col = "fasta_header", toWrite = FALSE, path = "." )
dataframe |
A DataFrame containing the |
group_by_cols |
A character vector with the names of the columns whose values are used to group by. |
seq_col |
A string with the name of the column containing the fasta sequence. |
header_col |
A string with the name of the column containing the fasta header. |
toWrite |
A boolean, if |
path |
Path where files are written if |
A list of lists containing both the DataFrame grouped based on group_by_cols
and the name of the file to write.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.