ensembl_counts_to_tpm: ensembl_counts_to_tpm

View source: R/ensembl_counts_to_tpm.R

ensembl_counts_to_tpmR Documentation

ensembl_counts_to_tpm

Description

Converts an Ensemble ENST counts matrix into TPM.

Usage

ensembl_counts_to_tpm(
  my_dt,
  lengths_table_path = get_human_ensembl_to_hgnc_entrez_path(),
  readme_path = NULL,
  this_script_path = ""
)

Arguments

my_dt

data.table with samples by row, first column should be the sample id with all subsequent columns headers in the Ensembl ENST format (no version).

lengths_table_path

Path to table for with cdna_length and transcript_id columns.

readme_path

Optional path to which the comments will be appended.

this_script_path

Path to script that runs this function for documentation purposes

Details

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ensembl_counts_to_tpm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Value

A vector of paths to the output file.


Benjamin-Vincent-Lab/PostRNASeqAlign documentation built on Feb. 14, 2024, 8:31 a.m.