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

long vectors not supported #31

Open
GangLiTarheel opened this issue Jul 18, 2023 · 0 comments
Open

long vectors not supported #31

GangLiTarheel opened this issue Jul 18, 2023 · 0 comments

Comments

@GangLiTarheel
Copy link

Hi,
I have successfully run psupertime on multiple datasets, but I met a weird error for a new dataset:

cross-validation training, 5 folds:
    fold 1
Error in lognet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs,  : 
  long vectors (argument 5) are not supported in .Fortran
Calls: psupertime ... .train_on_folds -> .glmnetcr_propn -> glmnet -> lognet
In addition: Warning messages:
1: In if (!(class(x) %in% c("SingleCellExperiment", "matrix", "dgCMatrix",  :
  the condition has length > 1 and only the first element will be used
2: In if (class(x) == "SingleCellExperiment") { :
  the condition has length > 1 and only the first element will be used
3: In .check_x(x, y, assay_type) :
  x has no colnames; giving arbitrary colnames
4: In if (class(x) == "SingleCellExperiment") { :
  the condition has length > 1 and only the first element will be used
5: In if (class(x) %in% c("matrix", "dgCMatrix", "dgCMatrix")) { :
  the condition has length > 1 and only the first element will be used
6: In if (class(x) == "SingleCellExperiment") { :
  the condition has length > 1 and only the first element will be used
7: In if (class(x) %in% c("matrix", "dgCMatrix", "dgRMatrix", "dgTMatrix")) { :
  the condition has length > 1 and only the first element will be used
Execution halted

My code:
psuper_sci_rna = psupertime(sci_rna_log, time_order, sel_genes='all')

I did a quick search. Is it relates to the # of cells in the data? Can psupertime scale to 10k,100k, or 1 million cells?

Best,
Gang

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