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

Plot column names #79

Open
simone-rizzetto opened this issue Sep 24, 2018 · 1 comment
Open

Plot column names #79

simone-rizzetto opened this issue Sep 24, 2018 · 1 comment

Comments

@simone-rizzetto
Copy link

Hi,
thanks for the amazing software!
I'm wondering if you could add an option to plot cell names.
Such as,
in PlotMethods.R, change
sc3_plot_markers.SingleCellExperiment <- function(object, k, auroc, p.val, show_pdata) {
to
sc3_plot_markers.SingleCellExperiment <- function(object, k, auroc, p.val, show_pdata, show_colnames=FALSE) {

and

do.call(pheatmap::pheatmap, c(list(dataset[markers$feature_symbol, , drop = FALSE], show_colnames = show_colnames,
cluster_rows = FALSE, cluster_cols = hc, cutree_cols = k, annotation_row = row.ann, annotation_names_row = FALSE,
gaps_row = which(diff(markers[, 1]) != 0), cellheight = 10), list(annotation_col = ann)[add_ann_col]))

@wikiselev
Copy link
Member

Hi, thanks for the suggestion, could you please create a pull request for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants