transcripts_from_geneR Documentation

Get the names of the transcripts associated to a gene

Description

Get the names of the transcripts associated to a gene, assuming genes are added to the input sleuth object.

Usage

transcripts_from_gene(obj, test, test_type, which_model, gene_colname,
  gene_name)

Arguments

obj

a sleuth object

test

a character string denoting which beta to use

test_type

either 'wt' for wald test or 'lrt' for likelihood ratio test

which_model

a character string denoting which model to use

gene_colname

the name of the column in which the desired gene apperas gene appears. Once genes have been added to a sleuth object, you can inspect the genes names present in your sleuth object via obj$target_mapping, assuming 'obj' is the name of your sleuth object. This parameter refers to the name of the column that the gene you are searching for appears in. Checkout the column names using names(obj$target_mapping)

gene_name

a string containing the name of the gene you are interested in

Value

a vector of strings containing the names of the transcripts that map to a gene