MEP-LINCS / MEPDataExplorer

This application allows visualization of MEP-LINCS data for each cell line.
https://www.synapse.org/#!Synapse:syn2862345/wiki/410135
MIT License
0 stars 0 forks source link

curated list of x and y columns for plotly scatterplot #2

Closed kdaily closed 8 years ago

markdane commented 8 years ago

Colour Factors ECMp Ligand

X and Y Variables Spot_PA_SpotCellCountLog2 Spot_PA_SpotCellCountLog2RUV3Loess Cytoplasm_CP_Intensity_MedianIntensity_MitoTrackerLog2RUV3Loess Nuclei_CP_Intensity_MedianIntensity_EdULog2RUV3Loess Cytoplasm_CP_Intensity_MedianIntensity_KRT19Log2RUV3Loess Cytoplasm_CP_Intensity_MedianIntensity_KRT5Log2RUV3Loess Nuclei_PA_Cycle_DNA2NProportionLogitRUV3Loess Nuclei_PA_Gated_EdUPositiveProportionLogitRUV3LoessBacktransformed Nuclei_PA_Cycle_DNA2NProportionLogitRUV3LoessBacktransformed

kdaily commented 8 years ago

Only:

are available.

markdane commented 8 years ago

Kenny,

Sorry about breaking your code by leaving out many features. I found and fixed the problem in my code and updated the SSC files on Synapse. Now the curated features to be displayed are in the files except for the back transformed versions. I’m hoping you can back transform them with the function I sent you previously.

Mark

From: Kenneth Daily notifications@github.com<mailto:notifications@github.com> Reply-To: MEP-LINCS/MEPDataExplorer reply@reply.github.com<mailto:reply@reply.github.com> Date: Wednesday, August 17, 2016 at 4:03 PM To: MEP-LINCS/MEPDataExplorer MEPDataExplorer@noreply.github.com<mailto:MEPDataExplorer@noreply.github.com> Cc: Mark Dane dane@ohsu.edu<mailto:dane@ohsu.edu>, Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Subject: Re: [MEP-LINCS/MEPDataExplorer] curated list of x and y columns for plotly scatterplot (#2)

Only:

are available.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MEP-LINCS/MEPDataExplorer/issues/2#issuecomment-240575766, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEawPgW9KvTcwhx3OJTsEgcMbZ6n4JYBks5qg5NdgaJpZM4JijkW.

kdaily commented 8 years ago

Thanks!

Not sure I understand what to do re: backtransforming columns? Can you provide an example of how to use the code to update the data frame (e.g., which column goes in, what to name the resulting column)?

markdane commented 8 years ago

The btlogit function can be applied within the ggplot function. p <- ggplot(dt, aes(x=Ligand, y=btLogit(Nuclei_PA_Cycle_DNA4NProportionLogitRUV3Loess))+ geom_boxplot(outlier.colour = NA, alpha=.5) This leaves the issue of the ugly, long names. We're going to talk about that tomorrow but I think we'll really want a description of the signal that's visible when the column is selected. Any idea about how to track and display that?

kdaily commented 8 years ago

OK, I see what you mean - but that only works for that column. It would be cumbersome to detect if the user had selected that specific column and then apply the function - what if they select Spot_PA_SpotCellCountLog2?

kdaily commented 8 years ago

For the names, it's pretty easy to set up a mapping between the long name and a name for viewing (just a data frame). Then lookup the name to use for x/y labeling, etc.

markdane commented 8 years ago

It would need to detect when logit is in the column name. The alternative is to add backtransformed versions of the columns to the dataset. I'm currently keeping intermediate versions of the features as they are calculated. Some have proven useful but many can be deleted. It's likely time for me to curate this down to the one's I think users will find valuable.

I'll decide on that soon.

markdane commented 8 years ago

Let's plan on having a feature name dataframe that includes long names, display names and descriptions. Do you think the description could conditionally appear when the feature is used in a figure?

kdaily commented 8 years ago

Probably, as a title of the figure?

markdane commented 8 years ago

I'm thinking the description is specific to the column and may be several sentences covering method used to calculate it and usage considerations. Ideally, it would appear when hovering over the short name though I don't know if that's possible. Otherwise, maybe it is displayed in a text box somewhere in the figure.

kdaily commented 8 years ago

Easy to have it displayed in the app, more difficult to put it in the figure (placement in dynamically drawn figures is always hard). Can start with the former and worry about it later!

Keeping a Synapse table of column info would be good (like https://www.synapse.org/#!Synapse:syn5662377 for annotations). That way, column info can also be displayed in the Wiki.

markdane commented 8 years ago

Closing based on having a valid CuratedFeatures file