diff options
author | Alexander Kabui | 2021-10-13 13:14:41 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-01-22 09:23:14 +0300 |
commit | dbb88497846253a23e028fb627f27cec82047be3 (patch) | |
tree | b194f72c3743e3d482854811c3ff0e759dfbe335 /scripts/ctl_analysis.R | |
parent | 5da658fa4b46a02cbcbc434336844fa326d16c9d (diff) | |
download | genenetwork3-dbb88497846253a23e028fb627f27cec82047be3.tar.gz |
fetch genotypes and phenotype files
Diffstat (limited to 'scripts/ctl_analysis.R')
-rw-r--r-- | scripts/ctl_analysis.R | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ctl_analysis.R b/scripts/ctl_analysis.R index e69de29..bfb6da4 100644 --- a/scripts/ctl_analysis.R +++ b/scripts/ctl_analysis.R @@ -0,0 +1,6 @@ +library(ctl) + +# The genotypes.csv file containing the genotype matrix is stored individuals (rows) x genetic marker (columns): +genotypes <- read.csv("genotypes.csv",row.names=1, header=FALSE, sep="\t") +# The phenotypes.csv file containing individuals (rows) x traits (columns) measurements: +traits <- read.csv("phenotypes.csv",row.names=1, header=FALSE, sep="\t") |