aertslab / AUCell

AUCell: score single cells with gene regulatory networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aucThr and onColor parameter are invalid in AUCell_plotHist function

Sophia409 opened this issue · comments

Hi, @s-aibar

I followed function usage in your manual, but it seems that aucThr and onColor parameter are invalid in AUCell_plotHist function.

AUCell_plotHist(cellsAUC, aucThr = max(cellsAUC), nBreaks = 100,
onColor = "dodgerblue4", offColor = "slategray2", ...)

Hope for your help

geneSetName <- rownames(regulonAUC)[grep("Gsx1", rownames(regulonAUC))]
geneSetName
[1] "Gsx1 (10g)"
AUCell_plotHist(regulonAUC[geneSetName,])
image

AUCell_plotHist(regulonAUC[geneSetName,], aucThr = max(regulonAUC[geneSetName,]),onColor = "red")
Error in max(regulonAUC[geneSetName, ]) : invalid 'type' (S4) of argument
max(regulonAUC[geneSetName,])
Error in max(regulonAUC[geneSetName, ]) : invalid 'type' (S4) of argument
AUCell_plotHist(regulonAUC[geneSetName,],onColor = "red")
image