Description Usage Arguments Details Value Author(s) See Also Examples
Writes predicted genes to a file in GenBank (gbk) or general feature format (gff).
1 2 3 4 | WriteGenes(x,
file = "",
format = "gbk",
append = FALSE)
|
x |
An object of class |
file |
A connection or a character string naming the file path where the tree should be exported. If "" (the default), the tree is printed to the standard output connection, the console unless redirected by sink. |
format |
Character specifying |
append |
Logical indicating whether to append to an existing |
WriteGenes
will write a "Genes"
object to a GenBank (if format
is "gbk"
) or general feature format (if format
is "gff"
) file.
NULL
.
Erik Wright eswright@pitt.edu
ExtractGenes
, FindGenes
, Genes-class
1 2 3 4 5 6 7 8 9 | # import a test genome
fas <- system.file("extdata",
"Chlamydia_trachomatis_NC_000117.fas.gz",
package="DECIPHER")
genome <- readDNAStringSet(fas)
x <- FindGenes(genome)
WriteGenes(x[1:10,], format="gbk")
WriteGenes(x[1:10,], format="gff")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.