indexOf.GenericDataFileSet | R Documentation |
Finds indices of a subset of files whose names match a given set of names or name patterns.
## S3 method for class 'GenericDataFileSet'
indexOf(this, patterns=NULL, by=c("exact", "regexp", "fixed"), ...,
onMissing=c("NA", "error"))
patterns |
A |
by |
A |
... |
Not used. |
If an element of patterns
contains a comma, then that element
is matched against the *getFullNames()
, otherwise it is
matched against *getNames()
.
First each pattern is matched by regular expression rules, and if
there is not match, then by fixed strings.
Returns an integer
vector
of length K with elements in
[1,*length()
] or (integer) NA
(for non-matched names).
Henrik Bengtsson
*getNames()
For more information see GenericDataFileSet
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.