Learn R Programming

seqinr (version 4.2-36)

plot.SeqAcnucWeb: To Plot Subsequences on the Parent Sequence

Description

This function plots all the type of subsequences on a parent sequence. Subsequences are represented by colored rectangle on the parent sequence. For example, types could be CDS, TRNA, RRNA .... In order to get all the types that are available for the selected database, use getType.

Usage

# S3 method for SeqAcnucWeb
plot(x, types = getType()$sname, socket = autosocket(), ...)

Value

An invisible list giving, for each subsequence, its position on the parent sequence.

Arguments

x

A sequence of class SeqAcnucWeb

types

The type of subsequences to plot. Default value is to consider all possible subsequence types.

socket

an object of class sockconn connecting to a remote ACNUC database (default is a socket to the last opened database).

...

not currently used

Author

D. Charif, J.R. Lobry

References

https://doua.prabi.fr/databases/acnuc.html

citation("seqinr")

See Also

getType, query

Examples

Run this code
if (FALSE) {
  ### Need internet connection
  choosebank("emblTP")
  mylist <- query("mylist", "AC=AB078009")
  plot(mylist$req[[1]])
  }

Run the code above in your browser using DataLab