extract_gene_locations: Clean up the gene location field from eupathdb derived gene...

View source: R/extract_gene_locations.R

extract_gene_locationsR Documentation

Clean up the gene location field from eupathdb derived gene location data.

Description

The eupathdb encodes its location data for genes in a somewhat peculiar format: chromosome:start..end(strand), but I would prefer to have these snippets of information as separate columns so that I can do things like trivially perform rpkm().

Usage

extract_gene_locations(annot_df, location_column = "annot_gene_location_text")

Arguments

annot_df

Data frame resulting from load_orgdb_annotations()

location_column

Name of the column to extract the start/end/length/etc from.

Value

Somewhat nicer data frame.

Author(s)

atb


khughitt/EuPathDB documentation built on Nov. 4, 2023, 4:19 a.m.