makes sense. is there a way to work around this situation using featureCounts?
the only way I can think of is using the following code
library(Biostrings)
library(biomaRt)
ensembl <- useMart("ensembl",dataset="hsapiens_gene_ensembl")
my.genes <- rownames(GeneCounts)
out <- getBM(attributes=c("ensembl_gene_id", "gene_biotype"),
filters="ensembl_gene_id", values=my.genes, mart=ensembl)
out <- out[match(my.genes, out$ensembl_gene_id),]
out <- na.omit(out) # removes genes which don't match any biotype