Description Details Objects from the Class Slots Extends Methods Note Author(s) See Also Examples
These classes allow to specify which entries (i.e. genes, transcripts or exons) should be retrieved from the database.
ExonidFilterAllows to filter based on the (Ensembl) exon identifier.
EntrezidFilterFilter results based on the NCBI Entrezgene identifierts of the
genes. Use the listGenebiotypes method to get a
complete list of all available gene biotypes.
GenebiotypeFilterFilter results based on the gene biotype as defined in the Ensembl database.
GeneidFilterFilter results based on the Ensembl gene identifiers.
GenenameFilterAllows to filter on the gene names (symbols) of the genes.
SeqendFilterFilter based on the chromosomal end coordinate of the exons, transcripts or genes.
SeqnameFilterFilter on the sequence name on which the features are encoded (mostly the chromosome names).
SeqstartFilterFilter based on the chromosomal start coordinates of the exons, transcripts or genes.
SeqstrandFilterFilter based on the strand on which the features are encoded.
TxbiotypeFilterFilter on the transcript biotype defined in Ensembl. Use the
listTxbiotypes method to get a complete list of all
available transcript biotypes.
TxidFilterFilter on the Ensembl transcript identifiers.
While objects can be created by calls e.g. of the form
new("GeneidFilter", ...) users are strongly encouraged to use the
specific functions: GeneidFilter, EntrezidFilter,
GenenameFilter, GenebiotypeFilter,
TxidFilter, TxbiotypeFilter,
ExonidFilter, SeqnameFilter,
SeqstrandFilter, SeqstartFilter and SeqendFilter.
See examples below for usage.
condition:Object of class "character": can be
either "=", "in" or "like" to filter on character values
(e.g. gene id, gene biotype, seqname etc), or "=", ">"
or "<" for numerical values (chromosome/seq
coordinates). Note that for "like" value should be a
SQL pattern (e.g. "ENS%").
value:Object of class "character": the value
to be used for filtering.
Class BasicFilter, directly.
Note: these methods are applicable to all classes extending the
BasicFilter class.
signature(object = "GeneidFilter", db="EnsDb",
	with.tables="character"):
returns the column (attribute name) to be used for the
filtering. Submitting the db parameter ensures that
returned column is valid in the corresponding database schema. The
optional argument with.tables allows to specify which in
which database table the function should look for the
attribute/column name. By default the method will check all
database tables.
signature(object = "GeneidFilter", db="EnsDb",
	with.tables="missing"):
returns the column (attribute name) to be used for the
filtering. Submitting the db parameter ensures that
returned column is valid in the corresponding database schema.
signature(object = "GeneidFilter", db="missing",
	with.tables="missing"):
returns the column (table column name) to be used for the
filtering.
signature(x="BasicFilter"): returns
the value for the condition slot.
signature(object = "GeneidFilter", db="EnsDb",
	with.tables="character"):
returns the where clause for the SQL call. Submitting also the
db parameter ensures that
the columns are valid in the corresponding database schema. The
optional argument with.tables allows to specify which in
which database table the function should look for the
attribute/column name. By default the method will check all
database tables.
signature(object = "GeneidFilter", db="EnsDb",
	with.tables="missing"):
returns the
where clause for the SQL call. Submitting also the db
parameter ensures that
the columns are valid in the corresponding database schema.
signature(object = "GeneidFilter", db="missing",
	with.tables="missing"):
returns the where clause for the SQL call.
The column and where methods should be always called
along with the EnsDb object, as this ensures that the
returned column names are valid for the database schema. The optional
argument with.tables should on the other hand only be used
rarely as it is more intended for internal use.
Note that the database column "entrezid" queried for
EntrezidFilter classes can contain multiple, ";"
separated, Entrezgene IDs, thus, using this filter at present might
not return all entries from the database.
Johannes Rainer
genes, transcripts, exons,
listGenebiotypes, listTxbiotypes
| 1 2 3 4 5 6 7 8 9 10 11 12 | ## create a filter that could be used to retrieve all informations for
## the respective gene.
Gif <- GeneidFilter("ENSG00000012817")
Gif
## returns the where clause of the SQL querys
where(Gif)
## create a filter for a chromosomal end position of a gene
Sef <- SeqendFilter(10000, condition=">", "gene")
Sef
## for additional examples see the help page of "genes"
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.