This function works only with subsequences from an ACNUC server.
getLocation(object, ...)
# S3 method for SeqAcnucWeb
getLocation(object, ..., socket = autosocket())
A list giving the positions of the sequence on the parent sequence. If the sequence is a subsequence (e.g. coding sequence), the function returns the position of each exon on the parent sequence. NA is returned for parent sequences and a warning is isued.
an object of the class SeqAcnucWeb
, or a list of them,
or an object created by query
an object of class sockconn
connecting to a remote ACNUC
database (default is a socket to the last opened database by choosebank
).
further arguments passed to or from other methods
D. Charif, J.R. Lobry, L. Palmeira
citation("seqinr")
SeqAcnucWeb
#
# List all available methods for getLocation generic function:
#
methods(getLocation)
#
# Example with a subsequence from an ACNUC server:
#
if (FALSE) {
# Need internet connection
choosebank("emblTP")
fc <- query("fc", "sp=felis catus et t=cds et o=mitochondrion")
getLocation(fc$req[[5]])
closebank()
}
Run the code above in your browser using DataLab