PriceLab / TReNA-Legacy

Fit transcriptional regulatory networks using gene expression, priors, machine learning
2 stars 1 forks source link

Add r2 for the returned trn object #5

Closed lhdcsu closed 7 years ago

lhdcsu commented 8 years ago

I noticed that in the returned trn object, each row contains tf, target genes and the beta values, but there is no R2 associated with the beta. It would be nice to have associated R2 value returned so we can judge whether the beta/edge is from a good or bad model.

seth-ament commented 8 years ago

Interesting idea. This would mean that the r^2 is duplicated across each of the rows for a target gene (not necessarily a bad thing). It would eliminate the need for a separate table with the r^2 values (definitely a good thing).

On Wed, Aug 10, 2016 at 11:08 AM, Hongdong notifications@github.com wrote:

I noticed that in the returned trn object, each row contains tf, target genes and the beta values, but there is no R2 associated with the beta. It would be nice to have associated R2 value returned so we can judge whether the beta/edge is from a good or bad model.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PriceLab/TReNA/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AG7ejkJEIu_5C8xdlB2bfp_1GvS-O1KQks5qehO2gaJpZM4Jha1b .

Seth A. Ament, Ph.D. | Postdoctoral Fellow Institute for Systems Biology | 401 Terry Ave N, Seattle, WA 98109 p. 206.732.1346 www.systemsbiology.org

Revolutionizing science. Enhancing life.

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.

lhdcsu commented 8 years ago

Yes, you are right. The rationale for this is that a bad model say with R2 =0.2 should not enter the final TRN.

marichards commented 7 years ago

I think this is effectively closed.