I found ensembl transcript ids for a specific ensembl gene id from R via library(biomaRt) but I got less transcripts than I got via online Biomart.
i.e
mart <- useMart(biomart = "ensembl", dataset = "hsapiens_gene_ensembl")
results <- getBM(attributes = c("ensembl_gene_id", "ensembl_transcript_id"),
filters = "ensembl_gene_id", values = 'ENSG00000000003', mart = mart)
results
ensembl_gene_id ensembl_transcript_id
1 ENSG00000000003 ENST00000373020
2 ENSG00000000003 ENST00000496771
3 ENSG00000000003 ENST00000494424
From website(martview) I got:
ENSG00000000003 ENST00000373020
ENSG00000000003 ENST00000496771
ENSG00000000003 ENST00000494424
ENSG00000000003 ENST00000614008
ENSG00000000003 ENST00000612152
Could you please let me know why the results are different than each other and what should I do to get all transcripts.