count_transcripts {polyester} | R Documentation |
determine how many transcripts are annotated in a FASTA or GTF file
count_transcripts( f, fasta = TRUE, identifier = "transcript_id", attrsep = "; " )
f |
character, path to a file in FASTA or GTF format |
fasta |
TRUE if |
identifier |
if |
attrsep |
if |
Number of transcripts annotated in f
fastapath = system.file("extdata", "chr22.fa", package="polyester") count_transcripts(fastapath) #918