ensembl_to_symbol-methods: Add transcript symbol column from ensembl id for human and...

Description Usage Arguments Details Value Examples

Description

ensembl_to_symbol() takes as input a 'tbl' formatted as | <SAMPLE> | <ENSEMBL_ID> | <COUNT> | <...> | and returns a 'tbl' with the additional transcript symbol column

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ensembl_to_symbol(.data, .ensembl, action = "add")

## S4 method for signature 'spec_tbl_df'
ensembl_to_symbol(.data, .ensembl, action = "add")

## S4 method for signature 'tbl_df'
ensembl_to_symbol(.data, .ensembl, action = "add")

## S4 method for signature 'tidybulk'
ensembl_to_symbol(.data, .ensembl, action = "add")

Arguments

.data

A 'tbl' formatted as | <SAMPLE> | <ENSEMBL_ID> | <COUNT> | <...> |

.ensembl

A character string. The column that is represents ensembl gene id

action

A character string. Whether to join the new information to the input tbl (add), or just get the non-redundant tbl with the new information (get).

Details

\lifecycle

questioning

This is useful since different resources use ensembl IDs while others use gene symbol IDs. At the moment this work for human (genes and transcripts) and mouse (genes) data.

Value

A 'tbl' object including additional columns for transcript symbol

A 'tbl' object including additional columns for transcript symbol

A 'tbl' object including additional columns for transcript symbol

A 'tbl' object including additional columns for transcript symbol

Examples

1

tidybulk documentation built on April 7, 2021, 6 p.m.