Parses filenames in a dataframe to get the fraction number.
add_fraction(df, filename_colname = filename)
df | A data frame containing a column corresponding to MS data file names. |
---|---|
filename_colname | The name of the column containing the data file names. |
A data frame containing a new column corresponding to fraction names.