Implemented a switch (arg) that allows new behaviour (optional) ...
without breaking code that relies on old behaviour (default).master
parent
ca87357da3
commit
7d6044143b
@ -1,6 +1,8 @@
|
|||||||
The following function, \Rfun{ProvideSampleId()}, strives to supply a unique sample ID from any path supplied to it. Of course, a certain structure on the part of the path and filename are assumed, namely:
|
The aim with \Rfun{ProvideSampleId()} is to supply a unique sample ID from any full path supplied to it.
|
||||||
\begin{itemize}
|
|
||||||
\item That the filename (not including the extension) consists of three alphanumeric strings separated by hyphens.
|
The function solves this using two approaches:
|
||||||
\item That\ldots
|
\begin{enumerate}
|
||||||
\end{itemize}
|
\item using only the filename,
|
||||||
|
\item using only the name of the subdirectory in question.
|
||||||
|
\end{enumerate}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue