Description Usage Arguments Details Author(s) Examples
These functions allow easier manipulation of the seqnames column of a GRanges object
1 2 3 4 5 | generalisedNameToNCBI( name, ... )
generalisedNameToEnsembl( name, ... )
seqnameMapping( x, mappingFunction, ... )
seqnamesToNCBI( x )
seqnamesToEnsembl( x )
|
name |
The name to convert. |
x |
A GRanges object to convert the seqnames of. |
mappingFunction |
The function to do the mapping of names. |
... |
Other arguments you may wish to send to a custom mapping function. |
These functions allow simple mapping between seqnames of a GRanges object.
The two standard derivations are seqnamesToNCBI and seqnamesToEnsembl. The rules for mapping are:
1 2 3 4 5 6 7 8 | Ensembl NCBI
1 <=> chr1
...
22 <=> chr22
X <=> chrX
Y <=> chrY
MT <=> chrM
|
You can define your own mapping function and pass it as the mappingFunction parameter to
seqnameMapping function to do your own custom mapping.
The function seqnamesToNCBI calls seqnameMapping with generalisedNameToNCBI as the
mappingFunction. The function seqnamesToEnsembl uses generalisedNameToEnsembl.
Tim Yates
1 2 3 4 | if(interactive()) {
annmapConnect()
seqnamesToNCBI( symbolToGene( c( 'tp53', 'shh' ) ) )
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.