sift:tutorials:treadmill_walking_in_healthy_individuals
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sift:tutorials:treadmill_walking_in_healthy_individuals [2024/11/29 15:59] – [Knee] wikisysop | sift:tutorials:treadmill_walking_in_healthy_individuals [2024/11/29 16:40] (current) – wikisysop | ||
---|---|---|---|
Line 17: | Line 17: | ||
* **Fukuchi et. al. subject data:** From the publicly available data files, download WBDSc3d.zip for subject .c3d files, and WBDSinfo.xlsx for the metadata [[https:// | * **Fukuchi et. al. subject data:** From the publicly available data files, download WBDSc3d.zip for subject .c3d files, and WBDSinfo.xlsx for the metadata [[https:// | ||
- | To simplify this tutorial, the following premade files are available to download as a starting point. They are contained in the zip folder labelled **"I3D_Tutorial_Treadmill_Walking.zip" | + | To simplify this tutorial, the following premade files are available to download as a starting point. They are contained in the zip folder labelled **"Sift_Tutorial_Treadmill_Walking.zip" |
* **Visual3D Workspaces (processed_workspaces): | * **Visual3D Workspaces (processed_workspaces): | ||
Line 43: | Line 43: | ||
===== Visual3D Processing ===== | ===== Visual3D Processing ===== | ||
- | If you want to skip to the Sift analysis portion of this tutorial, ensure you have downloaded the **"I3D_Tutorial_Treadmill_Walking.zip" | + | If you want to skip to the Sift analysis portion of this tutorial, ensure you have downloaded the **"Sift_Tutorial_Treadmill_Walking.zip" |
This tutorial uses the Pipeline feature of Visual3D to process the raw data provided by Fukuchi et al. The benefit of the pipeline feature is that it can be used to automate repeated steps and reduces the amount of time it takes to work with large data sets. If you are unfamiliar with using the Visual3D workspace, take some time to review the [[https:// | This tutorial uses the Pipeline feature of Visual3D to process the raw data provided by Fukuchi et al. The benefit of the pipeline feature is that it can be used to automate repeated steps and reduces the amount of time it takes to work with large data sets. If you are unfamiliar with using the Visual3D workspace, take some time to review the [[https:// | ||
Line 51: | Line 51: | ||
**1. Download .c3d files:** Fukuchi et al. has a folder labelled **WBDSc3dWithGaitEvents**, | **1. Download .c3d files:** Fukuchi et al. has a folder labelled **WBDSc3dWithGaitEvents**, | ||
- | **2. Subject by Subject Pipeline Edits:** If you haven' | + | **2. Subject by Subject Pipeline Edits:** If you haven' |
* **Subject Index:** Under pipeline function Set_Pipeline_Parameter, | * **Subject Index:** Under pipeline function Set_Pipeline_Parameter, | ||
* **Subject Height:** Under pipeline function Set_Subject_Height, | * **Subject Height:** Under pipeline function Set_Subject_Height, | ||
Line 76: | Line 76: | ||
===== Loading Data into Sift ===== | ===== Loading Data into Sift ===== | ||
- | Within the **"I3D_Tutorial_Treadmill_Walking.zip" | + | Within the **"Sift_Tutorial_Treadmill_Walking.zip" |
- | - Select {{: | + | - Select {{: |
- | - Open the {{: | + | - Open the {{: |
- Select **Calculate All Queries**. Query groups will be divided up based on right and left pelvis, hip, knee and ankle joint angles in x, y, and z axis. | - Select **Calculate All Queries**. Query groups will be divided up based on right and left pelvis, hip, knee and ankle joint angles in x, y, and z axis. | ||
Line 86: | Line 86: | ||
If you would like to learn more about these queries, a detailed tutorial on creating query definitions can be found [[Sift: | If you would like to learn more about these queries, a detailed tutorial on creating query definitions can be found [[Sift: | ||
- | - Open the {{: | + | - Open the {{: |
- | - Add a {{: | + | - Add a {{: |
- | - Add a {{: | + | - Add a {{: |
- **Signals**: | - **Signals**: | ||
- Type - “LINK_MODEL_BASED” | - Type - “LINK_MODEL_BASED” | ||
Line 108: | Line 108: | ||
If you haven' | If you haven' | ||
- | To begin cleaning your data, navigate to the [[Sift: | + | To begin cleaning your data, navigate to the [[Sift: |
Depending on how you clean your data, results may vary. The example below shows the difference after removing some traces from the query **NRail_HIP_ANGLE_Z_left**. | Depending on how you clean your data, results may vary. The example below shows the difference after removing some traces from the query **NRail_HIP_ANGLE_Z_left**. | ||
Line 120: | Line 120: | ||
To start a PCA analysis, start by selecting the two groups you want to compare in the **Groups** menu (CTRL + Click). Example: CTRL + Click on **Rail_Pelvis_Angle_Z_right** and **NRail_Pelvis_Angle_Z_right**. Visualize the group differences by de-selecting "Plot all Traces", | To start a PCA analysis, start by selecting the two groups you want to compare in the **Groups** menu (CTRL + Click). Example: CTRL + Click on **Rail_Pelvis_Angle_Z_right** and **NRail_Pelvis_Angle_Z_right**. Visualize the group differences by de-selecting "Plot all Traces", | ||
- | Navigate to the toolbar at the top of the interface and select the {{: | + | Navigate to the toolbar at the top of the interface and select the {{: |
Once the PCA has been run, the 6 different tabs within the Analysis-> | Once the PCA has been run, the 6 different tabs within the Analysis-> | ||
Line 134: | Line 134: | ||
==== Ankle ==== | ==== Ankle ==== | ||
- | For this study, to look specifically at one joint 6 figures can be laid out in a 3x2 grid. To do so go to the {{: | + | For this study, to look specifically at one joint 6 figures can be laid out in a 3x2 grid. To do so go to the {{: |
+ | |||
+ | {{: | ||
==== Knee ==== | ==== Knee ==== | ||
Line 142: | Line 144: | ||
{{: | {{: | ||
- | We then performed a PCA analysis on the knee data. Through this we can see that the underlying gait cycle signal is structured, and 95% variance can be explained by the first four principal components. | + | We then performed a PCA analysis on the knee data. Through this we can see that the underlying gait cycle signal is structured, and >97% of the variance can be explained by the first four principal components. |
- | {{:KNEE3.jpg}} | + | {{:fukuchi_knee_2.png?1000}} |
Returning to our visualisation analysis on the knee, we know that there are potential differences between the knee angles of those who used the railing, and those who did not. If possible, we want to be able to classify subjects as having used the railing, and not having used it. By looking at the **Group Scores** tab, that is the average values of each principal component on each group, we see that the standard errors of PC1 and PC2 do not overlap, suggesting PC1 and PC2 can best discriminate between groups. PC4 for example, has standard errors that do overlap, signifying that it could not be used to discriminate the groups. We can graph both PC1 and PC2 through the **Workspace Scores** tab, and see that we have a nearly linearly separable dataset. | Returning to our visualisation analysis on the knee, we know that there are potential differences between the knee angles of those who used the railing, and those who did not. If possible, we want to be able to classify subjects as having used the railing, and not having used it. By looking at the **Group Scores** tab, that is the average values of each principal component on each group, we see that the standard errors of PC1 and PC2 do not overlap, suggesting PC1 and PC2 can best discriminate between groups. PC4 for example, has standard errors that do overlap, signifying that it could not be used to discriminate the groups. We can graph both PC1 and PC2 through the **Workspace Scores** tab, and see that we have a nearly linearly separable dataset. | ||
- | {{:KNEE4.jpg}}{{:KNEE6.jpg}} | + | {{:fukuchi_knee_3.png?1000}}{{:fukuchi_knee_4.png?1000}} |
- | We can then look more closely at PC1 and PC2, and see why this may make sense. Looking back at the mean signal trace graph, we see that there is a notable difference in the joint angle between the 2 groups at the beginning and end of the gait cycle, and PC1 in particular may represent this. We can see by plotting the vector of PC1 that in general, the value of PC4 is smaller in the middle, while it is a large value at both the beginning and end of the gait cycle. Since we can visually see that the subjects who held the rail generally had higher angles at these points in the cycle, we would expect, and in fact do see, large values of PC1. While this is not a perfect separation of the two groups, the addition of PC2 explains the variance, again at the very start where we see the most difference, and around 60-75% where there is slight variance. | + | We can then look more closely at PC1 and PC2, and see why it may make sense that they are good at deciding between groups. Looking back at the mean signal trace graph, we see that there is a notable difference in the joint angle between the 2 groups at the beginning and end of the gait cycle, and PC1 in particular may represent this. We can see this on the **Loading Vector** tab, by plotting the vector of PC1 that in general, the value of PC1 is smaller in the middle, while it is a large value at both the beginning and end of the gait cycle. Since we can visually see that the subjects who held the rail generally had higher angles at these points in the cycle, we would expect, and in fact do see, large values of PC1. While this is not a perfect separation of the two groups, the addition of PC2 explains the variance, again at the very start where we see the most difference, and around 60-75% where there is slight variance. |
- | + | ||
- | {{: | + | |
+ | {{: | ||
==== Hip ==== | ==== Hip ==== | ||
We plotted the left hip internal and external rotation over a gait cycle, including the mean and standard deviations for both railing and non-railing groups. For the coordinate system used in the Fukuchi et. al. data set, the Y-axis is aligned in the vertical direction, and so the hip angle about the Y-axis describes internal-external rotation behaviour. Using Sift’s PCA analysis, we plotted the **Group Scores** tab for the first 4 principal components that described >95% of the hip joint signals, with the mean and standard error. We found that the second principal component has identifiable differences in the scores between groups, as the standard errors do not cross the x-axis. Further investigation into this principal component using the **Workspace Scores** we can see a reasonable separation between groups when comparing PC2 to PC1. In this specific example, PC1 describes more of the dataset variability for each group (64.1%), however, PC2 can best discriminate between the compared groups when analysing the hip internal-external rotation. | We plotted the left hip internal and external rotation over a gait cycle, including the mean and standard deviations for both railing and non-railing groups. For the coordinate system used in the Fukuchi et. al. data set, the Y-axis is aligned in the vertical direction, and so the hip angle about the Y-axis describes internal-external rotation behaviour. Using Sift’s PCA analysis, we plotted the **Group Scores** tab for the first 4 principal components that described >95% of the hip joint signals, with the mean and standard error. We found that the second principal component has identifiable differences in the scores between groups, as the standard errors do not cross the x-axis. Further investigation into this principal component using the **Workspace Scores** we can see a reasonable separation between groups when comparing PC2 to PC1. In this specific example, PC1 describes more of the dataset variability for each group (64.1%), however, PC2 can best discriminate between the compared groups when analysing the hip internal-external rotation. | ||
- | {{:HIP1.jpg}}{{:HIP2.jpg}}{{:Hip3.jpg}} | + | {{:fukuchi_hip_1.png}}{{:fukuchi_hip_2.png?1000}}{{:fukuchi_hip_3.png?1000}} |
==== Pelvis ==== | ==== Pelvis ==== | ||
When comparing pelvis angles during the gait cycle, we noticed variations in the Z-axis behaviour. For the coordinate system used in the Fukuchi et. al. data set, the Z-axis is aligned in the medial/ | When comparing pelvis angles during the gait cycle, we noticed variations in the Z-axis behaviour. For the coordinate system used in the Fukuchi et. al. data set, the Z-axis is aligned in the medial/ | ||
- | {{:PELVIS1.jpg}}{{:PELVIS2.jpg}} | + | {{:fukuchi_pelvis_1.png}}{{:fukuchi_pelvis_2.png?1000}}{{:fukuchi_pelvis_3.png?1000}}{{:fukuchi_pelvis_4.png?1000}} |
- | + | ||
- | {{:PELVIS3.jpg}}{{:PELVIS4.jpg}} | + | |
===== Conclusions ===== | ===== Conclusions ===== | ||
Line 174: | Line 171: | ||
Table 2: PCA Results | Table 2: PCA Results | ||
|Joint | |Joint | ||
- | |Knee Flexion-Extension | + | |Knee Flexion-Extension |
|Hip Internal-External Rotation|PC2 | |Hip Internal-External Rotation|PC2 | ||
|Anterior-Posterior Pelvic Tilt|PC1 | |Anterior-Posterior Pelvic Tilt|PC1 | ||
- | From these results we can conclude that holding a hand rail does have the statistical | + | From these results we can conclude that holding a hand rail does have the potential to statistical |
However, there are limitations on the conclusions that can be drawn from this analysis. Firstly, eliminating the younger subjects from the analysis pool reduced the subject pool from 42 to 17. This number of subjects is typically acceptable for pilot studies but is not large enough to be statistically valid for the general population. Secondly, to further quantify the relationship between rail use and lower limb joint angles it would be more effective to have the same subjects walk with and without a handrail (which was not the case in this data set). This would better control for variations in individual gait patterns. | However, there are limitations on the conclusions that can be drawn from this analysis. Firstly, eliminating the younger subjects from the analysis pool reduced the subject pool from 42 to 17. This number of subjects is typically acceptable for pilot studies but is not large enough to be statistically valid for the general population. Secondly, to further quantify the relationship between rail use and lower limb joint angles it would be more effective to have the same subjects walk with and without a handrail (which was not the case in this data set). This would better control for variations in individual gait patterns. |
sift/tutorials/treadmill_walking_in_healthy_individuals.1732895975.txt.gz · Last modified: 2024/11/29 15:59 by wikisysop