Preprocessing overview

As a first step after importing the data into TreeSummarizedExperiment, one should explore the data and perform quality control (QC). This is important because data quality affects the final results, and failing to assess it accurately can lead to erroneous interpretations. QC and exploration are discussed in 7  Exploration & quality control.

Based on the QC results, researchers usually apply sample and feature filtering to improve the robustness of the analysis. To focus on a specific taxonomic rank, data agglomeration is commonly performed. Filtering and agglomeration are discussed in detail in 8  Subsetting and 9  Agglomeration.

Data transformations, covered in 10  Transformation, are applied after filtering. For more information on preprocessing, you can refer to Zhou et al. (2023), for instance.

Data pre-processing for analyzing microbiome data – a mini review. Zhou et al. (2023). Comput Struct Biotechnol J 21:4804–4815. doi:10.1016/j.csbj.2023.10.001.

Figure 1 summarizes the typical order of these steps; click a step to open its chapter.

flowchart LR
    imp["Import<br/>into TreeSE"] --> qc["Explore &<br/>quality control"]
    qc --> sub["Filter samples<br/>& features"]
    sub --> agg["Agglomerate<br/>to a rank"]
    agg --> tr["Transform"]
    tr --> ana["Downstream<br/>analysis"]
    classDef step fill:#e6f3f7,stroke:#0087af,color:#070707
    classDef ends fill:#ffffff,stroke:#6c757d,color:#070707
    class qc,sub,agg,tr step
    class imp,ana ends
    click imp "import.html" "Importing data"
    click qc "quality_control.html" "Exploration & quality control"
    click sub "subsetting.html" "Subsetting"
    click agg "agglomeration.html" "Agglomeration"
    click tr "transformation.html" "Transformation"
Figure 1: Typical preprocessing steps between data import and downstream analysis.
Back to top