maximilianh / cellBrowser

main repo: https://github.com/ucscGenomeBrowser/cellBrowser/ - Python pipeline and Javascript scatter plot library for single-cell datasets, http://cellbrowser.rtfd.org
https://github.com/ucscGenomeBrowser/cellBrowser/
GNU General Public License v3.0
102 stars 40 forks source link

quickGenesfile config #225

Closed biocaitao closed 1 year ago

biocaitao commented 2 years ago

We had a long name. We set cellbrowser.conf by adding quickGenesFile = "quickGenes.csv" metaOpt = {"Cluster_field" : {"fontSize": "5px"}} But it seems still too long. The default config displays 4 genes per row, can it be changed to 3 genes per row? Thanks

maximilianh commented 2 years ago

Hi, do you have a link for this dataset so I can look at it and we can think about how to solve this?

Can I ask what the gene name is? Usually they’re pretty short , at least human symbols are, is this another organism ?

Otherwise, I can add an option to a) reduce the number of columns as you say or b) to increase the size of the left side bar. May there are other solutions, like cutting of the names at x characters or allowing specifying “short names”.

On Tue 24 Aug 2021 at 10:14, biocaitao @.***> wrote:

We had a long name. We set cellbrowser.conf by adding quickGenesFile = "quickGenes.csv" metaOpt = {"Cluster_field" : {"fontSize": "5px"}} But it seems still too long. The default config displays 4 genes per row, can it be changed to 3 genes per row? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TPKWPAAYDGNX7RR4UTT6NIFDANCNFSM5CWJHANQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

biocaitao commented 2 years ago

Thank you for the nice browser. I think opinion A will be great. I paste the snapshot of the page (some unpublished work). [image: image.png]

On Tue, Aug 24, 2021 at 6:50 PM Maximilian Haeussler < @.***> wrote:

Hi, do you have a link for this dataset so I can look at it and we can think about how to solve this?

Can I ask what the gene name is? Usually they’re pretty short , at least human symbols are, is this another organism ?

Otherwise, I can add an option to a) reduce the number of columns as you say or b) to increase the size of the left side bar. May there are other solutions, like cutting of the names at x characters or allowing specifying “short names”.

On Tue 24 Aug 2021 at 10:14, biocaitao @.***> wrote:

We had a long name. We set cellbrowser.conf by adding quickGenesFile = "quickGenes.csv" metaOpt = {"Cluster_field" : {"fontSize": "5px"}} But it seems still too long. The default config displays 4 genes per row, can it be changed to 3 genes per row? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/225, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AACL4TPKWPAAYDGNX7RR4UTT6NIFDANCNFSM5CWJHANQ

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/225#issuecomment-904532849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA37LGK7HIPE3M4EZK6CBFLT6N2NTANCNFSM5CWJHANQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

matthewspeir commented 2 years ago

Hi, @biocaitao ! It looks like the image you wanted to share didn't get attached to your comment.

However, we recently made some changes to support longer gene names in the quickGenesFile. Can you give v1.2.0 a shot and let us know if that fixes things for you? Once you've installed the new version via pip, you can upgrade the software on an existing cell browser instance using cbUpgrade --code -o

matthewspeir commented 1 year ago

Closing this ticket for now. Feel free to reopen if more discussion is needed or open a new ticket if you run into new issues.