jaleesr / BITFAM

BITFAM is a Bayesian approach and platform to infer transcription factor activities within individual cells using single cell RNA-sequencing data. Please see Gao S et al., Genome Research (2021) https://genome.cshlp.org/content/31/7/1296 for details.
31 stars 16 forks source link

Error while using BITFAM: Sys.setenv(R_MAKEVARS_USER = NULL) : wrong length for argument #4

Closed sesemina closed 1 year ago

sesemina commented 1 year ago

Hi! I tried to use BITFAM on scRNa seq data following your instructions. However I received an error after: BITFAM_res <- BITFAM(data = mtx_preprocess, species = "human", scATAC_obj = NA, ncores = parallel::detectCores())

Error in Sys.setenv(R_MAKEVARS_USER = NULL) : wrong length for argument In addition: Warning message: In .warn_march_makevars() : Detected -march=native in the Makevars file at 'C:/Users/semina/Documents/.R/Makevars'. Compiling with the -march=native flag on windows with Rtools can cause crashes because of the compiler implementation. rstan will ignore the Makevars file until -march=native is removed. You can disable this by setting rstan_options(disable_march_warning = TRUE)

sgao30 commented 1 year ago

It seems like your configuration of C++ has some problems. Could you please reinstall it? This link may help. Let me know if you still get errors. Thank you!