Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Can I use Google Sheets to help me with Mendelian Inheritance Tables?

$
0
0

I have a spreadsheet in Google Sheets that looks similar to the following:

ParentTrait 1 ATrait 1 BTrait 2 ATrait 2 BTrait 3 ATrait 3 B
A000111
B000101

It is meant to calculate Mendelian inheritance with "0" representing a recessive allele and "1" representing a dominate allele. For this application, there is no difference between an offspring having a "01" inheritance or a "10" inheritance; both are just labeled as heterozygous.

I want to create a calculated table with all the possible genetic combos of the offspring. For this example, the result should return a table that looks like this:

OffspringTrait 1Trait 2Trait 3
A000001
B000011
C000101
D000111
E001101
F001111

Is there a way to have Google Sheets automatically calculate all of the possibilities, or am I doomed to write all of these out by hand? Note: It doesn't have to calculate probabilities at this stage; it just needs to show the possible unique offspring "genetics."


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>