preyFAs {QFASA} | R Documentation |
Prey fatty acid signatures. Each prey signature is a row with fatty acid proportions in columns.
Description
The prey file should contain all of the individual fatty acid signatures of the prey and their lipid contents (where appropriate) - a matrix of the mean values for the FAs (prey.matrix) by the designated prey modelling group is then calculated using the MEANmeth function.
Usage
preyFAs
Format
A data frame with 302 observations and 70 variables:
- Lab.Code
TODO
- Species
TODO
- lipid
TODO
- c12.0
- c13.0
- Iso14
- c14.0
- c14.1w9
- c14.1w7
- c14.1w5
- Iso15
- Anti15
- c15.0
- c15.1w8
- c15.1w6
- Iso16
- c16.0
- c16.1w11
- c16.1w9
- c16.1w7
- c7Me16.0
- c16.1w5
- c16.2w6
- Iso17
- c16.2w4
- c16.3w6
- c17.0
- c16.3w4
- c17.1
- c16.3w1
- c16.4w3
- c16.4w1
- c18.0
- c18.1w13
- c18.1w11
- c18.1w9
- c18.1w7
- c18.1w5
- c18.2d5.11
- c18.2w7
- c18.2w6
- c18.2w4
- c18.3w6
- c18.3w4
- c18.3w3
- c18.3w1
- c18.4w3
- c18.4w1
- c20.0
- c20.1w11
- c20.1w9
- c20.1w7
- c20.2w9
- c20.2w6
- c20.3w6
- c20.4w6
- c20.3w3
- c20.4w3
- c20.5w3
- c22.1w11
- c22.1w9
- c22.1w7
- c22.2w6
- c21.5w3
- c22.4w6
- c22.5w6
- c22.4w3
- c22.5w3
- c22.6w3
- c24.1w9
Details
Like the predator .csv file you can have as many tombstone data columns as required but there must be at least one column that identifies the modelling group, in this case, Species.
Unlike the predator data, the prey data is not subsetted and renomalized during the modelling so the prey file needs to be subsetted for the desired fatty acid set and renormalized to sum to 1 prior to calculating the mean values.
The full FA set is extracted from the data frame (columns 4 onward), subsetted for the FA set in use and then renormalized over 1. The modelling group names (the "Species" column in this case) is then added back to the subsetted and renormalized data (as the first column) and the average values calculated using the MEANmeth function. Note that for the MEANmeth function to work the modelling group name must be in the first column.