Skip to content
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

StartUp error #8

Open
wyu opened this issue Jul 26, 2019 · 0 comments
Open

StartUp error #8

wyu opened this issue Jul 26, 2019 · 0 comments

Comments

@wyu
Copy link

wyu commented Jul 26, 2019

Unable to run a basic example, possibly due to some kind of config problem?

Perseus 1.6.5.0, R 3.6.1. The data matrix was from a "proteinGroups.txt" table.

"Example1.R"

args = commandArgs(trailingOnly = TRUE)
if (length(args) != 3) {
stop("Do not provide additional arguments!", call.=FALSE)
}
num <- as.integer(args[1])
inFile <- args[2]
outFile <- args[3]
library(PerseusR)
mdata <- read.perseus(inFile)
counts <- main(mdata)
mdata2 <- head(counts, n=num)
aCols <- head(annotCols(mdata), n=num)
mdata2 <- matrixData(main=mdata2, annotCols=aCols, annotRows=annotRows(mdata))
print(paste('writing to', outFile))
write.perseus(mdata2, outFile)

Screen Shot 2019-07-26 at 3 01 02 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant