View source: R/extractSequences.R
extractSequences | R Documentation |
This function uses a table of sequence hits and target transcripts parsed from HMMer outputs to extract sequences
extractSequences <- function(input_csv, type = "AA", external=TRUE)
input_csv |
The path to a csv file or the name of a dataframe in memory from which to extract the sequences and header |
type |
AA for amino acid or DNA for nucleotide |
external |
Whether or not input_csv is a path to an external file. Default is TRUE. Use FALSE if you wish to run this function on a dataframe |
Returns a fasta in the working directory
Alex Dornburg, dornburgalex@gmail.com
extractSequences <- function(input_csv="filepath/yourcsv.csv", type = "AA", external=TRUE)
#or if internal and you have this in a dataframe already
extractSequences <- function(input_csv=results, type = "AA", external=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.