ds.find.am {UCS}R Documentation

List Association Scores and Rankings in Data Set (base)


am.in.ds tests whether a specified association measure is annotated in a data set, ds.find.am lists all annotated association measures, and ds.match.am searches the data set for AMs whose names may be abbreviated to a unique prefix. All three functions look either for association scores or for rankings.


am.in.ds(ds, keys, rank=FALSE, fail=FALSE)

ds.find.am(ds, rank=FALSE)

ds.match.am(ds, abbrevs, rank=FALSE)


ds a UCS data set, read from a data set file with the read.ds.gz function
keys a character vector of AM names
abbrevs a character vector of AM names, each of which may be abbreviated to a unique prefix (within the data set)
rank if TRUE, the functions look for annotated rankings; otherwise, they look for annotated association scores (default)
fail if TRUE, the function aborts with an error message unless all specified AMs are annotated in the data set


If any of the abbrevs do not have a unique match in the data set, ds.match.am aborts with an error message (listing all strings that failed to match uniquely).


am.in.ds returns a logical vector of the same length as keys. ds.find.am and ds.match.am return a character vector containing the names of the annotated association measures.

See Also

read.ds.gz, am.var2key


GLAW <- read.ds.gz("glaw.scores.ds.gz")

[Package UCS version 0.5 Index]