From ada5f94f6e21fbf34a6b57fe5d99bd71fd4a7e7d Mon Sep 17 00:00:00 2001 From: njjacobs Date: Tue, 10 Feb 2026 15:50:46 -0600 Subject: [PATCH 1/5] added week 1 homework .qmd file --- course/01_InstallingRPackages/njjacobs/Week 1.qmd | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 course/01_InstallingRPackages/njjacobs/Week 1.qmd diff --git a/course/01_InstallingRPackages/njjacobs/Week 1.qmd b/course/01_InstallingRPackages/njjacobs/Week 1.qmd new file mode 100644 index 0000000..e69de29 From bd3834750bbb73a58f8b47c34a0dc6d7c9fe5d6c Mon Sep 17 00:00:00 2001 From: njjacobs Date: Fri, 27 Feb 2026 16:16:18 -0600 Subject: [PATCH 2/5] commit staged --- course/04_IntroToTidyverse/.vscode/settings.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 course/04_IntroToTidyverse/.vscode/settings.json diff --git a/course/04_IntroToTidyverse/.vscode/settings.json b/course/04_IntroToTidyverse/.vscode/settings.json new file mode 100644 index 0000000..b242572 --- /dev/null +++ b/course/04_IntroToTidyverse/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file From 3ab8f1a9b8f8d89f369e92b43d737662a1f1b09c Mon Sep 17 00:00:00 2001 From: njjacobs Date: Fri, 27 Feb 2026 16:18:59 -0600 Subject: [PATCH 3/5] added wk4 hw file --- .../04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd diff --git a/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd b/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd new file mode 100644 index 0000000..a1791ca --- /dev/null +++ b/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd @@ -0,0 +1,6 @@ +--- +Author: Natalie Jacobs +Format: HTML +Title: Intro to tidyverse +--- +# Week 4 Intro to tidyverse HW From ea55e1cd44cbd960d38c8ea7f123238e300799f1 Mon Sep 17 00:00:00 2001 From: njjacobs Date: Fri, 27 Feb 2026 17:29:35 -0600 Subject: [PATCH 4/5] added MyNewDataset.csv --- .../04_IntroToTidyverse/data/MyNewDataset.csv | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 course/04_IntroToTidyverse/data/MyNewDataset.csv diff --git a/course/04_IntroToTidyverse/data/MyNewDataset.csv b/course/04_IntroToTidyverse/data/MyNewDataset.csv new file mode 100644 index 0000000..57c4cd4 --- /dev/null +++ b/course/04_IntroToTidyverse/data/MyNewDataset.csv @@ -0,0 +1,24 @@ +"specimen","Date","timepoint","condition","Tcells_count","CD45_count","Tcells_ProportionCD45","TcellsRounded" +"INF0032","2025-08-05",0,"Ctrl",361034,753064,0.479420075850127,0.48 +"INF0159","2025-08-07",0,"Ctrl",452551,1190219,0.380224983805501,0.38 +"INF0179","2025-07-26",0,"Ctrl",291777,940733,0.310159205640708,0.31 +"INF0166","2025-08-28",0,"Ctrl",225650,739495,0.305140670322315,0.31 +"INF0180","2025-08-05",0,"Ctrl",284958,1049663,0.271475702201564,0.27 +"INF0155","2025-08-07",0,"Ctrl",281626,1065048,0.264425640910081,0.26 +"INF0019","2025-08-05",0,"Ctrl",208055,873622,0.238152198548113,0.24 +"INF0148","2025-07-29",0,"Ctrl",234335,1013985,0.231103024206472,0.23 +"INF0023","2025-08-22",0,"Ctrl",218435,968035,0.225647832981246,0.23 +"INF0158","2025-08-07",0,"Ctrl",280913,1249338,0.224849480284759,0.22 +"INF0013","2025-08-22",0,"Ctrl",182751,836573,0.218451946213899,0.22 +"INF0134","2025-07-29",0,"Ctrl",127866,689676,0.185400100916952,0.19 +"INF0052","2025-07-26",0,"Ctrl",164771,915203,0.180037652848603,0.18 +"INF0622","2025-08-30",0,"Ctrl",161924,939307,0.17238666378511,0.17 +"INF0199","2025-08-28",0,"Ctrl",169736,1112176,0.152616132698422,0.15 +"INF0100","2025-07-26",0,"Ctrl",208241,1438047,0.144808201679083,0.14 +"INF0614","2025-08-30",0,"Ctrl",224396,1569007,0.143017845044668,0.14 +"INF0149","2025-07-31",0,"Ctrl",107900,857845,0.125780298305638,0.13 +"INF0030","2025-08-22",0,"Ctrl",85521,732321,0.11678075597996,0.12 +"INF0124","2025-07-31",0,"Ctrl",70297,687720,0.102217472227069,0.1 +"INF0169","2025-07-31",0,"Ctrl",75540,854594,0.0883928508742163,0.09 +"INF0191","2025-07-29",0,"Ctrl",55780,715443,0.0779656800052555,0.08 +"INF0207","2025-08-28",0,"Ctrl",39055,905365,0.0431372982167413,0.04 From 8c915c067494a4ff7f5a7c017d2ac8f897e17c5c Mon Sep 17 00:00:00 2001 From: njjacobs Date: Fri, 27 Feb 2026 17:40:41 -0600 Subject: [PATCH 5/5] modiefied hw4 --- .../homeworks/njjacobs/homework_4.qmd | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd b/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd index a1791ca..4d9e9a3 100644 --- a/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd +++ b/course/04_IntroToTidyverse/homeworks/njjacobs/homework_4.qmd @@ -4,3 +4,15 @@ Format: HTML Title: Intro to tidyverse --- # Week 4 Intro to tidyverse HW + +# Problem 1 + +Taking a dataset (either todays or one of your own), work through the column-operating functions (select(), rename(), and relocate()). Once this is done, filter() by conditions from two separate columns, arrange in an order that makes sense, and export this “tidy” data as a .csv file. + +# Problem 2 + +We used the mutate() function to create new columns, but it can also be used to modify existing ones. Various numeric columns are showing way to many significant digits. As was shown, use round() to round all these proportion columns, but use mutate to overwrite the existing column. Export this as it’s own .csv file. + +# Problem 3 + +We can also use mutate() to combine columns. For our dataset, “bid”, “timepoint”, “Condition” are separate columns that originally were all part of the filename for the individual .fcs file. Try to figure out a way to combine them back together using paste0(), and save the new column as “filename”. Once this is done, pull() the contents of this column, and using try to determine whether there were any duplicates (think innovative ways of using !, length() and unique()) \ No newline at end of file