IGS / gEAR

The gEAR Portal was created as a data archive and viewer for gene expression data including microarrays, bulk RNA-Seq, single-cell RNA-Seq and more.
https://umgear.org
GNU Affero General Public License v3.0
10 stars 5 forks source link

When projecting a weighted gene cart, if all weights are 1 or 0, then add "binary gene count" projection option #666

Closed carlocolantuoni closed 1 month ago

carlocolantuoni commented 2 months ago

@adkinsrs has already added the ability to simply count the number of genes that are expressed at non-zero values when projecting unweighted gene carts. this method only appears as an option when projecting unweighted gene carts, as it does not incorporate gene weights. however, in cases where all weight are 0 or 1 (i have many gene carts of this type), it would be useful to count the number of genes with "1" weights that are non-zero in the new dataset? can we check the range of a values in a genecart and add this option for weighted genecarts if all values are 1 or 0?

adkinsrs commented 2 months ago

What do we do if there are 50 lists of weights, and some lists are binary, and others are continuous (maybe there are some PCA columns. Do we enable the binary gene count option, or disable? In addition, if enabled, do we make only the 1/0 columns selectable?

carlocolantuoni commented 2 months ago

Good question, lets make it simple and only enable if all the patterns/columns are only 1/0

On Mon, Mar 11, 2024, 09:13 Shaun Adkins @.***> wrote:

What do we do if there are 50 lists of weights, and some lists are binary, and others are continuous (maybe there are some PCA columns. Do we enable the binary gene count option, or disable? In addition, if enabled, do we make only the 1/0 columns selectable?

— Reply to this email directly, view it on GitHub https://github.com/IGS/gEAR/issues/666#issuecomment-1988412493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH7KC7TKU543M6KWGKVJHLLYXW3YJAVCNFSM6AAAAABEPUIE46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBYGQYTENBZGM . You are receiving this because you authored the thread.Message ID: @.***>

carlocolantuoni commented 3 weeks ago

hey shaun - to confirm - this is "completed" but wont be functional til v2 is up, right?

adkinsrs commented 3 weeks ago

Correct