Skip to contents

Given a pre-computed similarity result and a subset of transcript IDs, returns the corresponding submatrix. Useful when Y matrix has fewer transcripts than the full gene.

Usage

subset_similarity(sim_result, transcript_ids, match_without_version = TRUE)

Arguments

sim_result

result from similarity_from_gtf

transcript_ids

character vector of transcript IDs to subset

match_without_version

logical, try matching without version numbers

Value

subsetted similarity matrix