biomaRt package to add feature annotation information to an
SCESet.
getBMFeatureAnnos(object, filters = "ensembl_transcript_id", attributes = c("ensembl_transcript_id", "ensembl_gene_id", "mgi_symbol", "chromosome_name", "transcript_biotype", "transcript_start", "transcript_end", "transcript_count"), feature_symbol = "mgi_symbol", feature_id = "ensembl_gene_id", biomart = "ENSEMBL_MART_ENSEMBL", dataset = "mmusculus_gene_ensembl", host = "www.ensembl.org")SCESet objectattributes argument of getBM.feature_symbol in fData(object), subsequently). Default is
"mgi_symbol", gene symbols for mouse. This should be changed if the
organism is not Mus musculus!feature_id in fData(object), subsequently). Default is
"ensembl_gene_id", Ensembl gene IDs for mouse. This should be changed
if the organism is not Mus musculus!"ENSEMBL_MART_ENSEMBL"."mmusculus_gene_ensembl", which should be changed if the organism
is not the mouse!"host" from biomaRt to use. Useful for accessing archived
versions of biomaRt data. Default is "www.ensembl.org", in which case the current
version of the biomaRt (now hosted by Ensembl) is used.useMart and getBM, for information on what are
permitted values for the filters, attributes, biomart, dataset and host
arguments.
## Not run:
# object <- getBMFeatureAnnos(object)
# ## End(Not run)
Run the code above in your browser using DataLab