Get started by following the installation instructions and copying-and-pasting the example code below.
CAAPP bitbucket account holders can access the latest source code here
pip install https://caapp-msu.bitbucket.io/projects/caapp-qtl/package.tar.gz --upgrade --no-cache-dir
Your R/qtl results should be contained in a .csv file (we use "input.csv" in the example below)
This example assumes that you have an existing folder called "output".
import caapp_qtl.rqtl as cqtl
cqtl.build_combined_heatmap( "input.csv", "output" )
cqtl.build_chromosome_heatmaps( "input.csv", "output" )
A spreadsheet will be saved in the output folder.
The spreadsheet can be dragged into OLIVER to be viewed as a heatmap.
Your ICIMapping results should be contained in a .ric file (we use "input.ric" in the example below)
This example assumes that you have an existing folder called "output".
import caapp_qtl.icim as cqtl
cqtl.build_combined_heatmap( "input.ric", "output", "LOD" )
cqtl.build_chromosome_heatmaps( "input.ric", "output", "LOD" )
Spreadsheets will be saved in the output folder. In these spreadsheets each row is a trait and each column is a position in a chromosome.
These spreadsheets can be dragged into OLIVER to be viewed as heatmaps.
Directed-LOD results are equivalent to LOD results, only some LOD values are negated to indicate which parent line was dominant.
Same as the example above, only instead of the "LOD" keyword, we use "DIRECTED_LOD"
import caapp_qtl.icim as cqtl
cqtl.build_combined_heatmap( "input.ric", "output", "DIRECTED_LOD" )
cqtl.build_chromosome_heatmaps( "input.ric", "output", "DIRECTED_LOD" )
PVE results are percentages, represented using the range [0,1] in the resulting heatmaps.
Same as the example above, only instead of the "LOD" keyword, we use "PVE"
import caapp_qtl.icim as cqtl
cqtl.build_combined_heatmap( "input.ric", "output", "PVE" )
cqtl.build_chromosome_heatmaps( "input.ric", "output", "PVE" )