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

How many datasets should be listed in the new version? #295

Open
chunkaili217 opened this issue May 24, 2023 · 1 comment
Open

How many datasets should be listed in the new version? #295

chunkaili217 opened this issue May 24, 2023 · 1 comment
Assignees
Labels
awaiting-user Further information is requested

Comments

@chunkaili217
Copy link

test.keepX = list (
nitrogen = c(1:5),
enzyme = c(1:4),
soil = c(1:3),
otu = c(seq(100, 700, 10))
)
t1 = proc.time()
BPPARAM <- BiocParallel::SnowParam(workers = parallel::detectCores()-1)
tune.TCGA = tune.block.splsda(X = data, Y = Y, ncomp = ncomp,
test.keepX = test.keepX, design = design,
validation = 'Mfold', folds = 5, nrepeat = 1,
BPPARAM = BPPARAM, dist = "centroids.dist")

list.keepX = tune.TCGA$choice.keepX

final.diablo.model = block.splsda(X = data, Y = Y, ncomp = ncomp,
keepX = list.keepX, design = design)

network(final.diablo.model, blocks = c(1,2,3,4),
color.node = c('orchid','orange','tomato','sky blue'), layout.auto, cutoff = 0.6)

Error: 'comp' must be either NULL or a list of length 4.

@chunkaili217 chunkaili217 added the bug Something isn't working label May 24, 2023
@mixOmicsTeam
Copy link
Owner

Hi @chunkaili217 , sorry for the delay in getting back to you, mixOmics has been without a maintainer for the past few months. Please could you respond if this is still an issue and let me know when the error is occurring - is it when running block.splsda or network? Thanks!

@mixOmicsTeam mixOmicsTeam added awaiting-user Further information is requested and removed bug Something isn't working labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants