generalise_gene_type: Summarise gene type

Description Usage Arguments

View source: R/tools.R

Description

Add a column named general_gene_type to the data.table containing generalised gene type names

Usage

1
2
3
4
5
6
7
generalise_gene_type(
  dt,
  mapping = NULL,
  column = "gene_type",
  protein_coding = "protein_coding",
  general_column = "general_gene_type"
)

Arguments

dt

data.table with at least a column containing specific gene types

mapping

mapping of specific to general gene type as data.table or list of vectors if kept NULL, then a basic mapping of pc (protein_coding) vs. npc is created

column

specifies the column of the specific gene type

general_column

name of general gene type column to add


mumichae/DASSIE documentation built on Jan. 10, 2020, 12:07 a.m.