View source: R/subsettranscripts.R
subsetNewTranscripts | R Documentation |
'subsetNewTranscripts()' will retain transcripts in 'query' that are distinct from those in 'ref'
subsetNewTranscripts(query, ref, refine.by = c("none", "intron", "cds"))
query |
GRanges object containing query GTF data. |
ref |
GRanges object containing reference GTF data. |
refine.by |
Whether to refine the selection process by removing query transcripts with similar introns or CDS structure to reference. Default input is "none", and can be changed to "intron" or "cds" respectively. |
'subsetNewTranscripts()' will compare query and reference GTF GRanges and return query transcripts with different exon structures from reference transcripts. Transcriptome assemblers may sometime extend 5' and 3' ends of known transcripts based on experimental data. These annotated transcripts can be removed by inputting "intron" to the refine.by argument. This will further compare and remove transcripts of identical intron structures. Alternatively, transcripts with unique CDS coordinates can be selected by typing "cds" to the refine.by argument.
Filtered GRanges GTF object
Fursham Hamid
# Load dataset
data(matched_query_gtf, ref_gtf)
# shortlist new transcripts
subsetNewTranscripts(matched_query_gtf, ref_gtf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.