Skip to content

checkForRemoteErrors #184

@wangcongjian

Description

@wangcongjian

Hello, I tried to "run_mofa" function and got the following error:

MOFAmodel <- run_mofa(MOFAobject, use_basilisk = TRUE, outfile = "result/MOFA_trained_model.hdf5")
Connecting to the mofapy2 package using basilisk.
Set 'use_basilisk' to FALSE if you prefer to manually set the python binary using 'reticulate'.

    #########################################################
    ###           __  __  ____  ______                    ### 
    ###          |  \/  |/ __ \|  ____/\    _             ### 
    ###          | \  / | |  | | |__ /  \ _| |_           ### 
    ###          | |\/| | |  | |  __/ /\ \_   _|          ###
    ###          | |  | | |__| | | / ____ \|_|            ###
    ###          |_|  |_|\____/|_|/_/    \_\              ###
    ###                                                   ### 
    ######################################################### 

use_float32 set to True: replacing float64 arrays by float32 arrays to speed up computations...

Successfully loaded view='RNA' group='group1' with N=837 samples and D=25134 features...
Successfully loaded view='miRNA' group='group1' with N=837 samples and D=1642 features...
Successfully loaded view='Methylation' group='group1' with N=837 samples and D=24401 features...
Successfully loaded view='Protein' group='group1' with N=837 samples and D=17028 features...
Successfully loaded view='Phospho' group='group1' with N=837 samples and D=44253 features...

Loaded 1 covariate(s) for each sample...

Model options:

  • Automatic Relevance Determination prior on the factors: False
  • Automatic Relevance Determination prior on the weights: True
  • Spike-and-slab prior on the factors: False
  • Spike-and-slab prior on the weights: False
    Likelihoods:
  • View 0 (RNA): gaussian
  • View 1 (miRNA): gaussian
  • View 2 (Methylation): gaussian
  • View 3 (Protein): gaussian
  • View 4 (Phospho): gaussian

Error in checkForRemoteErrors(lapply(cl, recvResult)) :
one node produced an error: AssertionError: Smooth covariates applied but smooth options not defined. Please define set_smooth_options() before build()

However, there doesn't seem to exist a function as set_smooth_options(), so I don't know how to define it as described above. I really appreciate it if you can help me solve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions