lyIDdetector {TPMplt} | R Documentation |
Function for detecting the locations for Strain and Stress in data frame. It is an key component for automatic
completion in the function of epsExtract
.
lyIDdetector(data, patterns = "[Ss][Tt][Rr]")
data |
A data frame with |
patterns |
A regex object to determine layer of Strain and Stress. The default pattern uses "[Ss][Tt][Rr]". |
A list consisted of the layer, and the levels in this layer for Strain and Stress respectively.
require(VBTree)
chrvec2dl(colnames(TPMdata))
lyIDdetector(TPMdata)