Dr-Eberle-Zentrum / Data-projects-with-R-and-GitHub

6 stars 3 forks source link

Comments for Miguel by Meri #246

Open merinehlsen opened 1 month ago

merinehlsen commented 1 month ago

Hello Miguel,

First of all thank you for this intriguing task, I am excited to tackle it.

It seems like a challenging task, especially given, how specialised this analysis is, but I like that it is something the rest of us likely never looked at before. Your explanation of the FAE was good and very concise, so the general concept was presented very understandably.

However I am a bit confused on details of your project, more specifically what you actually are aiming to be plotted. What I am getting right now (and please correct me if I’m wrong) is that you are aiming for two different types of plots:

  1. force distribution along x, y and z axis per model (so 4 lines in total where each point of the line represents a distinct finite element (vertexID)
  2. subsampled average stress for each interval (of 10%) per model (so 4 x 10 = 40 points where each point represents the average of a 10% subset of all finite elements)

Maybe if would be helpful to understanding your idea of the plot if you could add this information about what each point will be plotted by? Or if this a common way of visualising FAE it would be great to add an examplary figure as a reference!

So my working points for you would be:

Please let me know, if anything was unclear! Looking forward to your response! :)

Best,

Meri

merinehlsen commented 1 month ago

Hello @MiguelDLM,

I still can't find the data for your project in your project folder. Please upload it as soon as possible or specify in your project description where I can access it. Thank you!

Best,

Meri

martin-raden commented 1 month ago

Hi Meri, the data was "hidden" in a branch I now merged into the main repo..

It's now linked and available in the project's folder. You can directly import the data via

library(tidyverse)
read_csv("https://github.com/Dr-Eberle-Zentrum/Data-projects-with-R-and-GitHub/raw/main/Projects/MiguelDLM/smooth_stress_tensor.csv")

Best, Martin

merinehlsen commented 1 month ago

Hi Martin,

I see, thank you for your help!! :)

Best, Meri

merinehlsen commented 1 month ago

Hello Miguel,

Thank you for uploading the data! I have taken a look and I'm having some problems working with unfortunately. First of all I am finding only one .csv file rather than the four you mention in your project description. Does that mean that the data for all four models are in that one file? If so how are they defines?

Also when I am plotting the raw data the von misses stress is a relief (which makes sense). For plotting the lines you show in your Project description, would you like me to average the values of certain coordinate (ranges)? Because right now, I am unsure what I should actually plot.

I haven't yet had the chance to read into your bibliography; I will try to do so, so I am sorry if the questions I am asking are fairly obvious!

Thank you in advance for your help!

Best, Meri

MiguelDLM commented 1 month ago

All the files are in the Branch with my name: https://github.com/Dr-Eberle-Zentrum/Data-projects-with-R-and-GitHub/tree/MiguelDLM-project/Projects/MiguelDLM

martin-raden commented 1 month ago

Hi @merinehlsen, the files are also now within the main branch (named smooth_stress_tensor (XXXXX).csv).

In the end, the idea is to compute mean values for relative coordinate segments for each dimension (XYZ) and animal.

That is something like this:

merinehlsen commented 1 month ago

Hi @MiguelDLM and @martin-raden,

Thank you for your help! I have updated my project solution draft accordingly, I will also link it again in the pull request for the discussion there!

Best wishes, Meri