Comments (11)
Hello Juliana,
Thanks for your comment here. Since the main developer of prolfqua is out of office for a while, I try to help you. From the listed error it looks to me that your raw-file names are the issue.
Are you starting the analysis with the proteinGroups.txt file or with some other input to prolfqua?
Could you maybe share the top 100 lines of your input?
Can you confirm that the vignette (comparing two groups) is running for you?
Best regards
jonas
from prolfqua.
perfect. Thanks for trying and using prolfqua. If you struggle please open again an issue.
from prolfqua.
Hi Jonas,
Thank you for reaching out. I have attached a csv file which shows the first 100 lines of our data set after using the tidyMQ_ProteinGroups function. I believe the vignette is running, but is there a way I can confirm that? I did install the prolfqua package with the vignettes.
Thanks,
Juliana
proteinGroups_ex.csv
from prolfqua.
Hello Juliana,
Your "startdata" looks good after reading in with the tidyMQ_proteinGroup function.
Now at this point it is important to have the "annotation" file correct.
It should have the same tab-separated columns as in the example and very important, the raw.file names in the raw.file column have to match your sample names from the proteinGroups.txt
e.g.:
10_pic01
11_bn50
12_bn57
13_bn58
14_bn60
15_bn59
16_bn54
17_bn53
18_bn55
19_bn56
20_bn43
22_pic02
23_bn48
24_bn49
25_bn52
26_bn51
In the Grouping or Condition column you would then specify the groups that you are comparing!
I hope this helps.
best regards
jonas
from prolfqua.
I believe the annotation file is correct, please find it attached here. Then, I tried to inner join the annotation and proteinGroups file by performing:
startdata <- inner_join(annot, data, by = c("sample" = "raw.file"))
All before the "adata" creation work, it is at this step where the error is coming:
adata <- setup_analysis(startdata, config)
I'm not sure what the issue is, because the raw.file is a character vector as it needs to be for the sampleName.
Thank you for your help,
Juliana
from prolfqua.
Hello Juliana,
Ideally - You add a column that is the same in both tables. In your case the "raw.file" column is missing in the annotation file. Also "sample" column is recommended to have the labels!
Be aware, that you will also "loose" all the files where you do not have group or visit or batch specified as later on when you will define the atable and specify the contrasts you need to concretely specify what you are going to compare with what.
best regards
jonas
from prolfqua.
So the "sample" column in the annotation file should be renamed as "raw.file"? I did not have any issues with inner joining the files originally with different header names. Yes, I understand that we will lose data where there is no group or visit or batch identifier, which is okay for our purposes!
Thank you,
Juliana
from prolfqua.
I did not test this yet. I guess I will try to look into it later today and send you a brief R-snipet that should work for your annotation and for the first lines of your startdata.
I also understand that the inner_join should work here as you do it, still the SampleName column (or Name column) is missing in my opinion.
best regards
jonas
from prolfqua.
Thank you Jonas, I will also try to rename the column with SampleName and see if that makes a difference.
Thanks,
Juliana
from prolfqua.
Hello Juliana,
Here a little code snipet with innput that does the job on your sample data.
Best regards
jonas
from prolfqua.
Thank you! This script worked and was very helpful.
from prolfqua.
Related Issues (20)
- Rename ContrastsSimpleImpute to ContrastsMissing.
- Add Precision Recall plot to Benchmark class
- Remove plot_FDPvsTPR from Benchmark
- DiaNN read report function HOT 3
- Error with setup_analysis() HOT 4
- Error at normalisation step HOT 5
- Sample Rscript to process fragpipe lfqMBR outputfile HOT 1
- FragPipe v.19.1 combined_protein output not working with prolfqua::tidy_FragPipe_combined_protein HOT 1
- Reduce package size HOT 2
- Citation points to bioRxiv HOT 1
- color densities using factor variable
- Glm support HOT 1
- add in-silico talk HOT 1
- volcano plot with fixed ylim (scales) cannot be "freed up" with scales="free" HOT 5
- review ContrastsMissing get_contrasts HOT 3
- Contrast function mixes conditions in WaldTest output HOT 5
- remove dependecy on DT
- remove dependencies from basic model and interaction model
- simulate additional data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prolfqua.