collection_path_from_exp: Get collection path

collection_path_from_expR Documentation

Get collection path

Description

For directory and id, must be fst format file

Usage

collection_path_from_exp(
  df,
  id,
  gene_name_list = NULL,
  must_exists = TRUE,
  collection_dir = collection_dir_from_exp(df, must_exists)
)

Arguments

df

ORFik experiment

id

character, transcript ids

gene_name_list

a data.table, default NULL, with gene ids

must_exists

logical, stop if dir does not exists

collection_dir

= collection_dir_from_exp(df, must_exists)

Value

file.path(resFolder(df), "collection_tables")

Examples

df <- ORFik.template.experiment()
tx_id <- "ENST0000012312"
collection_path_from_exp(df, id = tx_id, must_exists = FALSE)

Miswi/RiboCrypt documentation built on Dec. 14, 2024, 10:37 p.m.