Description Usage Arguments Value
This function reads and imports into R the contents of a file of annotations (TXT).
1 | get.txtdata(datadir, coverage, filename="txt.adf")
|
datadir |
Directory under which all the coverages and a directory called 'info' are. |
coverage |
The name of the coverage we want to work with. |
filename |
The name of the file in the coverage directory that stores the data. By default, it is called 'txt.dat'. |
This function returns a list with two elements. The first one is a dataframe with the next columns:
TxtID |
This field identifies the anotation. |
UserID |
Identifier defined by the user. |
Level |
I don't know what this exactly means. Please, help me to fix this. |
NVerticesLine |
Number of vertices pairs that are valid. |
NVerticesArrow |
I don't know what this exactly means. Please, help me to fix this. |
Text |
Some text related to the annotation. |
The second element in the list is another list containing the vertices related the annotation. For each annotation there are two vectors, for the X and Y coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.