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

Display_cl function #80

Open
KatMedMed opened this issue Mar 11, 2024 · 1 comment
Open

Display_cl function #80

KatMedMed opened this issue Mar 11, 2024 · 1 comment

Comments

@KatMedMed
Copy link

Hello scrattch.hitcat team,

I am following the tutorial presented here: https://taxonomy.shinyapps.io/scrattch_tutorial with the tasic2016data. However, I am having problems when plotting the heatmaps (display.result = display_cl(onestep.result$cl, norm.dat, plot=TRUE, de.param=de.param), I got the following error:

Error in is.null(Rowv) || is.na(Rowv): 'length = 2' in coercion to 'logical(1)'
Traceback:

  1. display_cl(onestep.result$cl, norm.dat, plot = TRUE, de.param = de.param)
  2. plot_cl_heatmap(tmp.dat, cl, markers, ColSideColors = tmp.col,
    . prefix = prefix, labels = NULL, by.cl = TRUE, min.sep = min.sep,
    . main = main, height = height, width = width)
  3. heatmap.3(tmp.dat[, ord], Rowv = as.dendrogram(gene.hc), Colv = NULL,
    . col = col, trace = "none", dendrogram = "none", cexCol = cexCol,
    . cexRow = cexRow, ColSideColors = ColSideColors[, ord], breaks = breaks,
    . colsep = sep, sepcolor = "black", main = main, key = key,
    . density.info = "none")

I was wondering if you could help me with this issue.

Thank you

@detectivelouis
Copy link

I am commenting here to bring this issue some traction. I am also having the same problem and I suspect it has to do with the version of R; if the parameter plot=FALSE there is no error, and no plot. The heatmap plotting function is not compatible with anything more recent than R 4.2. Can the developers give this issue some attention and update the plotting function please?

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

2 participants