-
Notifications
You must be signed in to change notification settings - Fork 28
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
problems with arm64 build #98
Comments
and, yep, it is definitely the arm64 build. I have performed a clean removal of that version, reinstalled the x64 build and it works; perhaps you should post a warning, would save people like me much pain and frustration |
Dear Eugenio, |
Hi Stephanie, no error message just "Your error session has crashed" from RStudio |
I getting this same crashing issue on x64.
|
Dear Stephanie
I am observing crashes of the R session with selected netConstruct methods. I am using R 4.3.1 arm64 build on a MacBook M1 pro with Ventura 13.6
The code I am using to test the issue is
library(parallel)
library(NetCoMi)
ncores <- parallel::detectCores(logical = F) # to detect physical cores in MacOS
data("amgut2.filt.phy")
this does not crash
net_pears <- netConstruct(amgut2.filt.phy,
measure = "pearson",
normMethod = "clr",
zeroMethod = "multRepl",
sparsMethod = "threshold",
thresh = 0.3,
verbose = 3)
method_parameters <- list(sparMethod = "t-test",
alpha = 0.001,
measureParList = list(iter = 100, inner_it = 20, th = 0.05),
normmethodPar = "none",
zeromethodPar = "none",
dissFuncPar = "signed",
verbosePar = 1)
this does not crash
net_sparcc <- netConstruct(amgut2.filt.phy,
measure = "sparcc",
normMethod = method_parameters$normmethodPar,
zeroMethod = method_parameters$zeromethodPar,
sparsMethod = method_parameters$sparMethod,
measurePar = method_parameters$measureParList,
alpha = method_parameters$alpha,
dissFunc = method_parameters$dissFuncPar,
verbose = method_parameters$verbosePar,
cores = ncores,
seed = 123456
)
this crashes
net_spieceasi <- netConstruct(amgut2.filt.phy,
measure = "spieceasi",
measurePar = list(method = "mb",
pulsar.params = list(rep.num = 10),
symBetaMode = "ave"),
filtTax = "highestVar",
filtTaxPar = list(highestVar = 50),
filtSamp = "totalReads",
filtSampPar = list(totalReads = 1000),
sparsMethod = "none",
normMethod = "none",
verbose = 3)
method_parameters <- list(
sparMethod = "t-test",
alpha = 0.001,
measureParList = list(
method = 'mb',
lambda.min.ratio = 1e-2,
nlambda = 20,
pulsar.params = list(rep.num =
50)
),
normmethodPar = "none",
zeromethodPar = "none",
dissFuncPar = "signed",
verbosePar = 1
)
this crashes
net_spieceasi_2 <- netConstruct(amgut2.filt.phy,
measure = "spieceasi",
normMethod = method_parameters$normmethodPar,
zeroMethod = method_parameters$zeromethodPar,
measurePar = method_parameters$measureParList,
alpha = method_parameters$alpha,
dissFunc = method_parameters$dissFuncPar,
verbose = method_parameters$verbosePar,
cores = ncores,
seed = 123456)
this crashes
net_season_spring <- netConstruct(data = amgut_season_no,
filtTax = "highestVar",
filtTaxPar = list(highestVar = 50),
filtSamp = "highestFreq",
filtSampPar = list(highestFreq = n_yes),
measure = "spring",
measurePar = list(nlambda=10,
rep.num=10),
normMethod = "none",
zeroMethod = "none",
sparsMethod = "none",
dissFunc = "signed",
verbose = 2,
seed = 123456)
The text was updated successfully, but these errors were encountered: