Description Usage Arguments Value Examples
View source: R/process_files.r
parses the info column of a GTF file to extract the gene name and length.
1 2 | parse_GTF_info(gtf, gene_names = TRUE, gene_length = TRUE,
remove_duplicates = TRUE)
|
gtf |
gtf file that has been imported using |
gene_names |
if true, add a column containing gene name |
gene_length |
if true, add a column containing gene length |
remove_duplicates |
remove rows if gene names are duplicated. The row that is kept
is the first instance of that gene. To remove duplicates based on something other that
gene name, use the separate |
A data frame containing all the genes from gtf_file
1 | parse_GTF_info(gtf_file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.