Closed Pedroaragon9 closed 1 month ago
Thank you for using scp
and QFeatures
.
To be able to join assays, the function needs to be able to match rows from different sets/assays. But this can't be done at the precursor level - how do you know what precursor in run 1 to match with in run 2. After reading the data in, we first aggregate precursors into peptides using aggregateFeaturesOverAssays() so that each precursor-level assay is aggregated into a peptide-level equivalent. The peptide-level assays can then be joined by matching peptide sequences that have been found across multiple runs.
Some of the SCP.replication vignettes might also help.
By the way, assuming you are analysing SCP data, the readSCP()
and readSCPfromDIANN()
function could be useful.
Hope this helps, and don't hesitate to ask questions and/or request adjustments.
Hi Laurent,
Looking a bit more into what the function does it makes a lot sense now. Apologies for the confusion, in fact its running correctly now.
The readSCPfromDIANN()
was also very helpful.
Thanks for the help.
Cheers!
Hello,
I have an issue when utilizing the
JoinAassays
function on my qf object. I can succesfully generate the object.and after inspecting it, everthing looks correct:
It is not only until I run the
JoinAssays
function as following that I encounter an issue:A new assay is successfully generated as expected
However upon closer inspection it seems that all quantitative information on the joined assays, except for the first, is lost
Interestingly, I had managed to join the assays before and even perform downstream DE analysis on the dataset using the exact workflow.
Other colleagues have been dealing with the same issue and we are quite puzzled as of why this is happening. I checked the values before the join and they seem fine. Interestingly I can perform other functions first such as
aggregateFeaturesOverAssays()
and then join the assays which will work. However, I noticed that information is also getting lost. This time on several columns ofrowData()
, and also results in failure during protein aggregation e.g. while usingMsCoreUtils::robustSummary
Error in .lm.fit(X, expression) : NA/NaN/Inf in 'y'
I have tried this workflow on several datasets and all encounter the same issue. I am not sure why. Looking forward to hearing your thoughts.
Thanks in advance
P.S. Ill be happy to share some datasets in order to try to reproduce the issue.