Description Usage Arguments Value Examples
View source: R/GetSequenceNow.R
Function to get the sequence of a gene in fasta format
1 2 | GetSequenceNow(gen_name = NULL, dl_folder, gen_id, fasta_name,
protein = FALSE)
|
gen_name |
Name of the genome/folder. Has to be the same as in MakeGenPlot |
dl_folder |
Path to the the download folder. Has to be the same as in MakeGenPlot |
gen_id |
Name of the wanted gene (The gene name of a gene in a plot of MakeGenPlot when show_gen_id = TRUE) |
fasta_name |
The first line in the fasta file "> gen_id, strand = ... , fasta_name" |
protein |
Logical. To get the protein sequence instead of the nucleotide sequence: protein = TRUE |
A fasta file with the sequence of the given gene.
1 2 3 4 5 | GetSequenceNow(gen_name = "Flavobacterium_ir1",
dl_folder = "C:/Users/Downloads",
gen_id = "B4N84_RS04735",
fasta_name = "Bladibladibla",
protein = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.