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

numCores not working #4

Open
andrewelamb opened this issue Sep 6, 2019 · 3 comments
Open

numCores not working #4

andrewelamb opened this issue Sep 6, 2019 · 3 comments

Comments

@andrewelamb
Copy link

Hi Dave, I'm using this commit: 30e6215

and getting this error:

calls <- ImmuneSubtypeClassifier::callEnsemble(
input_matrix,
numCores = args$num_cores
)

Error in ImmuneSubtypeClassifier::callEnsemble(input_matrix, numCores = args$num_cores) :
unused argument (numCores = args$num_cores)
Execution halted

@Gibbsdavidl
Copy link
Collaborator

The function signature is:

callEnsemble <- function(X, path='data', geneids='symbol')

Should be able to use defaults for path and geneids..

There's something wrong (I think) with the parallel version unfortunately.

@andrewelamb
Copy link
Author

When you do:
?ImmuneSubtypeClassifier::callEnsemble

you get:

callEnsemble {ImmuneSubtypeClassifier} R Documentation
callEnsemble Make subtype calls for each sample
Description
callEnsemble Make subtype calls for each sample

Usage
callEnsemble(X, path = "data", geneids = "symbol", numCores = 2)
Arguments
X
gene expression matrix, genes in row.names, samples in column.names

path
the path to the ensemble model, stored as RData, and named 'ens'

geneids
either hgnc for gene symbols or entrez ids. will be matched to the EB++ matrix

numCores
number of cores to use with parallel lib

Value
table, column 1 is best call, remaining columns are subtype prediction scores.

Examples
calls <- callEnsemble(mods, X, Y)

@Gibbsdavidl
Copy link
Collaborator

Oh! I need to rebuild the docs!

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

2 participants