This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Can I add labels to (some) cells in a plotColData from scater?

I would like to know if there is an option to add test label to the dots in a plotColData plot

plotColData(unfiltered, x="sum", y="subsets_Mito_percent", 
        colour_by="discard", other_fields = list("sample") )

I would like to show the sample names of the three samples/cells marked as TRUE (orange).

thanks

plotColData

single-cell-experiment plotcoldata scater

1 answer

Ok,

I have found that I can use also the geom_text() option of ggplots to do this.

Log in to answer this question.