get.txtdata {RArcInfo}R Documentation

Function for importing the contents of an TXT file into R

Description

This function reads and imports into R the contents of a file of annotations (TXT).

Usage

get.txtdata(datadir, coverage, filename="txt.adf")

Arguments

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'.

Value

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.

References

More information about this kind of data can be found at http://pages.infinit.net/danmo/e00/docs/v7_bin_cover.html.


[Package RArcInfo version 0.4-7 Index]