View source: R/gffToDataFrame.R
gffToDataFrame | R Documentation |
Generate a DataFrame of gene calls from a gff3 file
gffToDataFrame(GFF,
AdditionalAttrs = NULL,
AdditionalTypes = NULL,
RawTableOnly = FALSE,
Verbose = FALSE)
GFF |
A url or filepath specifying a gff3 file to import |
AdditionalAttrs |
A vector of character strings to designate the attributes to pull. Default Attributes include: “ID”, “Parent”, “Name”, “gbkey”, “gene”, “product”, “protein_id”, “gene_biotype”, “transl_table”, and “Note”. |
AdditionalTypes |
A vector of character strings to query from the the “Types” column. Default types are limited to “Gene” and “Pseudogene”, but any possible entry for “Type” in a gff3 format can be added, such as “rRNA”, or “CRISPR_REPEAT”. |
RawTableOnly |
Logical specifying whether to return the raw imported GFF without complex parsing. Remains as a holdover from function construction and debugging. For simple gff3 import see |
Verbose |
Logical specifying whether to print a progress bar and time difference. |
Import a gff file into a rectangular parsable object.
A DataFrame with relevant information extracted from a GFF.
Nicholas Cooley npc19@pitt.edu
ImportedGFF <- gffToDataFrame(GFF = system.file("extdata",
"GCF_021065005.1_ASM2106500v1_genomic.gff.gz",
package = "SynExtend"),
Verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.