Returns the matching column names of indices.
Given a text spread sheet f
and a pattern
to
be matched to its header (first line in the file), the function
returns the matching columns names or indices of the
corresponding data.frame
.
grepEcols(f, pattern, ..., n = 1) getEcols(f, ..., n = 1)
f |
A connection object or a |
pattern |
A |
... |
Additional parameters passed to |
n |
An |
Similarly, getEcols
can be used to explore the column names and
decide for the appropriate pattern
value.
These functions are useful to check the parameters to be provided to
readMSnSet2
.
Depending on value
, the matching column names of
indices. In case of getEcols
, a character
of
column names.
Laurent Gatto
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.