3
$\begingroup$

I'm working on a dataset which is giving me trouble. I have 200 samples (Sample 1, Sample 2...). An example dataset (limited to 15 samples) is here. My dataset is structured with the following columns (I'll try to simplify):

  1. Sample source. Type of data: dichotomic. It can be SEDIMENT or WATER.
  2. Sequencing technique. 4 categories: A,B,C,D (non numeric values)
  3. Salinity. 3 categories: salt, brackish, freshwater
  4. Depth. 5 categories: surface, epi, meso, bathy and abyssopelagic.
  5. (through 10) Abundance of phyla, expressed as % of the considered domain.

In my opinion a PCA and a MDS are not useful for this kind of data. I'm trying to evaluate the relation between the abiotic variables (salinity, etc.) and the abundance of the phyla.

What type of analysis can be useful to see the relation between Phyla abundance and abiotic variables like salinity and depth (see dataset example at link)?

$\endgroup$
2
  • $\begingroup$ Word trivium: Usual word is dichotomous, not dichotomic or dichotomial. Binary is a good word with the same meaning, that there are two states. $\endgroup$
    – Nick Cox
    Commented Feb 5, 2018 at 18:48
  • $\begingroup$ Thank you Nick....I think binary is the best fit in this case :) Still struggling with my vocabulary sometimes $\endgroup$
    – Plumeria
    Commented Feb 5, 2018 at 19:38

1 Answer 1

2
$\begingroup$

Your outcome variables, the relative abundance of phyla, all add up to 1. So your outcome is really a set of compositional data. One issue: although your data show 5 different phyla, you only have 4 linearly independent values among them for each sample. Another issue: your data only represent relative abundance, not overall abundance. Sometimes overall abundance also needs to be considered.

It's not surprising that this is giving you some trouble, as rigorous systematic methods for statistical analysis of compositional data are only a few decades old. (See the link above for a general introduction and further reading.) It is possible to do regression analysis on compositional data but some specialized approaches are needed. For your type of application, this recent freely-available paper would seem to be a good introduction. Don't think that you can do this easily in Excel.

One more thought: you might not have enough data to adequately assess all of these predictors. There are 120 combinations of the levels of predictors 1 through 4, so 200 samples represents less than 2 samples per possible combination. That might lead to overfitting, providing a model that fits your data sample well but might not generalize to other samples.

$\endgroup$
4
  • $\begingroup$ Thank you for the detailed answer! I was feeling "stupid" struggling this much with this dataset, turns out it's not as easy as it seems... $\endgroup$
    – Plumeria
    Commented Feb 5, 2018 at 19:40
  • $\begingroup$ In order: 1) I can't understand where the problem is, sorry. Can you explain me more in detail? I put 5 phyla in the example dataset to simplify, in reality they're 25 (Bacteria Domain). 2) Yes, in this dataset i have relative abundance. I have also overall abundance data (n° of sequences), but since there is a big difference between the total number of sequences for every sample i thought relative abundance would have been a good way to compare them. $\endgroup$
    – Plumeria
    Commented Feb 5, 2018 at 19:52
  • $\begingroup$ I will read the paper you suggested me, hope to find some advice. Do you think using "R" will allow me to analyze the dataset? $\endgroup$
    – Plumeria
    Commented Feb 5, 2018 at 19:54
  • $\begingroup$ @Plumeria in your example with 5 phyla having values that add up to 1 for each sample, once you know 4 of them for a sample you automatically know the 5th. That leads to problems if you or the software treat all 5 as independent outcomes. Examine the pages I linked to and the links within them for issues with relative versus absolute abundance; that choice depends best on your knowledge of the underlying subject matter. Try a web search for "compositional data R" and you will find some packages, but make sure you understand what they do before you try to use them. $\endgroup$
    – EdM
    Commented Feb 5, 2018 at 20:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.