R/utils.R
which_tx_names.Rd
This function is used to check if tx1 and tx2 are GENCODE or ENSEMBL transcript IDs and return an integer vector of tx1 transcript indexes that are in tx2.
which_tx_names(txnames, sig_tx)
A character()
vector of GENCODE or ENSEMBL transcript IDs.
A character()
vector of GENCODE or ENSEMBL signature transcript IDs.
A
integer()
vector of txnames
transcript indexes in sig_tx
.
sig_tx <- select_transcripts("cell_component")
whichTx <- which_tx_names(rownames(rse_tx), sig_tx)