View source: R/gencode_utils.R
subset_gencode_gtf | R Documentation |
Creates a data frame with a subset of GTF records based on feature type.
subset_gencode_gtf(gtf, feature_type = c("transcript", "gene", "exon"))
gtf |
A data frame with data from an imported GENCODE GTF file. |
feature_type |
A string denoting the feature type for which to retrieve records. This corresponds to the 3rd column values in a GTF file. |
Filters a GTF-format data frame to only records of a specific feature type (based on column 3 of a GTF record). Adds an additional column with the GENCODE ID parsed from column 9.
A data frame in GTF-like format with an additional column (column 10) for the GENCODE ID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.