Group Abstract Group Abstract

Message Boards Message Boards

0
|
37 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

Probability of tall-stemmed peas in F₃ generation from random F₂ hybridization

Posted 1 day ago

enter image description here

enter image description here

enter image description here

enter image description here

What are some good ways to create the table below based on the question?

enter image description here

Below is my attempt to code the table. I don’t know how to achieve the effect of the last row shown above when drawing it. Ideally, the matching types can be automatically entered and the corresponding probability values can be automatically generated.

data = GroupBy[Tuples[{DD, Dd, Dd, dd}, 2], Sort, Length];
events = Subscript[A, #] & /@ Range[6]
keys = Keys[data];
values = Values[data];
Grid[{{"Event", ## & @@ events}, {"Combs", Sequence @@ keys}, {"Ounts",
    Sequence @@ values} , {"P(\!\(\*SubscriptBox[\(A\), \(i\)]\))", 
   Sequence @@ (values/16)}  }, Frame -> All, Alignment -> Center, 
 ItemSize -> {5, Automatic}]

enter image description here

POSTED BY: Bill Blair
Posted 19 hours ago

POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard