Displaying 1 result from an estimated 1 matches for "pathogen_individu".
2012 Oct 28
6
Having some Trouble Data Structures
...gives me three numerical representations of genes. These numbers will be compared to a similar data structure of the host individuals who have their immune genes with similar numbers.
My problem is that obviously I can't stick 3 numbers in one "cell" of the matrix (I've tried) :
Pathogen_Individuals[1,3] <- c(2,3,4)
Error in Pathogen_Individuals[1, 3] <- c(345, 567, 678) :
number of items to replace is not a multiple of replacement length
In future I'm also going to have more variables such as whether a gene is expressed. Such information may require a matrix in itself - someth...