Entering edit mode
19 months ago
Adyasha
•
0
Hi everyone,
I have a dataset like this . A, B, C, D, E, and F are different samples. I want to create a line chart that has a baseline for all these values and then sample specific fluctuations basing the baseline.
DATE A B C D E F
10-02-2023 15700 0 0 0 0 0
14-02-2023 36800 0 0 0 0 0
17-02-2023 23,700.00 23000 0 0 0 0
21-02-2023 0 8400 0 0 0 0
24-02-2023 0 8000 0 0 0 0
10-03-2023 0 0 831100 0 0 0
14-03-2023 0 0 72000 0 0 0
22-03-2023 0 565300 0 0 0 0
30-03-2023 0 865000 0 1618300 0.28 0
04-04-2023 0 58.466 0.307 19.268 0 0
10-04-2023 0 114.558 0 9.801 0 0
11-04-2023 0 0 1.911 0 0 0
12-04-2023 0 0 0 0 0 0.194
I took 8400 as median for all entries for samples . so 8400 will be the baseline, then how can I plot these samples in different colours?
or just a baseline and one plot showing fluctuation upper and lower to the baseline also works .
for PCR ct value calculation .
I am new to this. Please help
I want a plot like this.
You need to pivot your data from wide to long using
pivot_wider
. You can then plot it using ggplot similar to the suggestions given in your previous posts.