-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minor edits #15
Comments
lmsimp
added a commit
that referenced
this issue
Nov 29, 2023
lmsimp
added a commit
that referenced
this issue
Nov 29, 2023
I've started to address these edits for lessons 4 and 5 in commit e868288 and commit 3278941. Thank you very @tavareshugo for going through these lessons. Please feel free to add more as you go to this issue. |
I've turned them into checkboxes, it might be easier to keep track of it |
lmsimp
added a commit
that referenced
this issue
Nov 30, 2023
lmsimp
added a commit
that referenced
this issue
Dec 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Collecting a few minor issues here, to avoid me pushing now and causing merge conflicts.
These are not urgent and don't need to be fixed imminently - I'm happy to push these changes once development is less active.
A few of these are perhaps higher priority, and I've marked them with 🔴 to highlight this.
setup
01_intro.Rmd
02_import_and_infrastructure.Rmd
rowData
andcolData
(here) we could use the term "table (data frame)" rather than "matrix-like data structure", as participants of this workshop should be familiar with data.frame/tibble objects.:::{.callout-note}
box. The "assay" nomenclature is rather unfortunate here 😕 . Until this issue gets solved in QFeatures, could we maybe use the term "experiment assay" instead? That would fit the fact that you use the functionexperiments()
to fetch anExperimentList
from your object.dplyr
/stringr
/ggplot2
/tibble
individually, rather thanlibrary("tidyverse")
?|>
(which tidyverse folk now also endorse)QFeatures
is a list ofSummarizedExperiment
objects, we can uselength(cc_qf)
to check how many objects we have inside it". Alternatively we can also extract the list of experiments directly usingexperiments(cc_qf)
. Generally, it's discouraged to access slots directly using@
as it risks users breaking the object if they decide to do an assignment<-
.clusterProfiler
andorg.Hs.eg.db
mask severaldplyr
functions.()
, to make it explicit these are functions and also make it compatible with the native pipe|>
if we ever switch over.unique()
would make more sense, to match with the previous piped answer.colData
.sapply()
use. This would be solved if we had a metadata CSV prepared for them. I would argue it's also best-practice to have that metadata samplesheet ahead of time.dir.create("output", showWarnings = FALSE)
in case the directory doesn't exist.pull() |> table()
could just docount(Number.of.Missed.Cleavages)
.rowData
column namedNumber.of.Missed.Cleavages
. Can you count how many occurrences of missed cleavages there are in our data?"[
subset syntax be introduced here?03_data_processing.Rmd
count(Search.Engine.Rank)
. If you wanted to make it more visual, could even pipe to ggplot:ggplot(aes(Search.Engine.Rank, n)) + geom_col() + scale_y_log10()
Contaminants
column found in therowData
of the experiment assay. For example, we can count how many contaminants there are usingcc_qf[["psms_filtered"]] |> rowData() |> as_tibble() |> count(Contaminant)
. Use thefilterCounts()
function... etc."04_normalisation_aggregation.Rmd
outputDir = "."
could perhaps beoutputs
for consistency to where they are saving analysis outputs.Here - I wonder if having a snapshot of the report would be helpful. For example, the QQ plots or the boxplots. Also, I'm not sure how we infered
center.median
was the method? In the PDF report it's referred to asmedian
.05_protein_exploration.Rmd
.n
is 223 and median is 2.06_statistical_analysis.Rmd
More general questions:
cc_qf@ExperimentList
withexperiments(cc_qf)
The text was updated successfully, but these errors were encountered: