search for: outcome1

Displaying 3 results from an estimated 3 matches for "outcome1".

Did you mean: outcome
2012 Oct 05
2
Using variables from different environments in one function
...n script with a number of predefined variables. #This shapes an environment in which variables that will be used #by the inner function are defined. ############# MAIN SCRIPT ################ a=1 b=2 c=3 d=4 #source(filepath/to/innerfunction1) outcome1<-innerfunction1() AB <-outcome1$ab CD <-outcome1$cd #source(filepath/to/innerfunction2) innerfunction2() ################################################# #So far so good. No problem if you run this. #The problem emerges if you want to make...
2011 Nov 24
0
loop through columns in S4 objects
Dear experts, I am trying to perform an association using snpStats. I have a snp matrix called 'plink' which contains my genotype data (as a list of $genotypes, $map, $fam), and a phenotype data frame which contains the outcomes (outcome1, outcome2,...) I would like to associate with the genotype. My question is, how do I loop through the outcomes? This type of data seems different from all the others and I am having trouble manipulating it, so I would also be grateful if you have suggestions of some tutorials that can help me under...
2006 Oct 10
0
Haplo.Stats: error (recursive default argument reference)
...not able to figure out what this means. Could you perhaps help me? The full output is the following: > library(haplo.stats) > datafile.dat<-read.table("datafile.dat",header=TRUE) > attach(datafile.dat) > names(datafile.dat) [1] "SEXE" "AGE" "OUTCOME1" "OUTCOME2" "OUTCOME3" "OUTCOME4" [7] "OUTCOME5" "SNP1X" "SNP1Y" "SNP2X" "SNP2Y" "SNP3X" [13] "SNP3Y" "SNP4X" "SNP4Y" "SNP5X" "SNP5Y" "SNP6X"...