Description Usage Arguments Value Examples
View source: R/cast_gtf_to_genes.R
This function is used to extract all exons and their positions in the genome from an input gtf file.
1 | cast_gtf_to_genes(filename, feature = "exon", att_of_interest = "gene_id", ...)
|
filename |
path to the gtf file |
feature |
the feature type name to filter the feature (3rd) column of the gtf/gff file; default is exon |
att_of_interest |
the attribute to extract from the last column of the gtf/gff file; default in gene_id |
... |
arguments passed on to other methods |
A tibble of the ids, gene names, chromosomes, start and end positions of each exon found in the gtf file.
1 2 | fl <- system.file("extdata", "example.gtf.gz", package="Rsamtools", mustWork=TRUE)
cast_gtf_to_genes(fl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.