aertslab / AUCell

AUCell: score single cells with gene regulatory networks
122 stars 26 forks source link

aucThr and onColor parameter are invalid in AUCell_plotHist function #7

Closed Sophia409 closed 2 years ago

Sophia409 commented 4 years ago

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