-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error running DEqMS #11
Comments
Hi, you need to make some changes.
changed to
Second, you need to update the codes in this line
Yafeng |
Thanks for your prompt reply! I did change the column positions when I first ran the script. And I also tried the modifications you suggested, but still getting the same error. Below is what I ran. I can also provide the txt file if needed. library(DEqMS) df.prot = read.table("proteinGroups.txt",header=T,sep="\t",stringsAsFactors = F, df.prot = df.prot[!df.prot$Reverse=="+",] quant_cols <- grep("LFQ",colnames(df.prot)) # to find the column number of LFQ quant value in your input rownames(df.LFQ) = df.prot$Majority.protein.IDs df.LFQ.filter = df.LFQ[df.LFQ$na_count_KO<2 & df.LFQ$na_count_WT<2,1:6] library(matrixStats) pep_count_cols = grep("Razor...unique.peptides.",fixed = T, colnames(df.prot)) |
I will have a look, please send the text file input. |
Thank you. I have dropped the file here. |
Hi, you need to change the following code
to It appears you are beginner in R language, I want to warn you another line of code.
Please make sure your KO samples are in the first three columns, and the WT samples are in column 4 to 6 in the df.LFQ data frame. It won't make error, but you can't get expected results if you make mistakes here. Good luck! Yafeng |
Thanks. Definitely an R beginner here. I was trying to run my dataset through DEqMS to compare with the results I obtain with my standard workflow. |
add a pseudocount
|
Hello,
I am new to DEqMS. I am trying to analyze MaxQuant data. I was able to follow the vignettes instructions to process the PXD000279 data. However, when I load my own proteinGroups.txt, I encountered an error running the command:
pep.count.table = data.frame(count = rowMins(as.matrix(df.prot[,19:24])),
row.names = df.prot$Majority.protein.IDs)
Error in rowMins(as.matrix(df.prot[, 19:24])) :
Argument 'x' cannot be logical.
I wonder if you have any idea what caused this error.
Thank you for your time!
Hsin-Yao
The text was updated successfully, but these errors were encountered: