Include the argument genotypes=1:15
I used:
library(qtl)
x <- read.cross("csv", file="P5new do Rqtl.csv", genotypes=1:15,
estimate.map=FALSE, crosstype="4way")
There were a couple of genotypes coded as "144", which will be treated as missing.
There were two markers that appeared twice: OPA11a and OPA11c.
Feel free to send me data files privately rather than to the Rqtl-disc list, because if you send data files to the list, you've made them public.
karl
> I have tried to code with the 4-way cross coding scheme as You propose before, but something is going wrong and...
> sorry for that... I realy don't know what I have do it uncorrect? When I use <- read.cross:
> P5 <- read.cross("csv", "C:/Users/Pracownia Biotech-1/Desktop/PAWEŁ/Rqtl", "P5new do Rqtl.csv", crosstype="4way")
> I get the following message:
> --Read the following data:
> 79 individuals
> 461 markers
> 1 phenotypes
> --Estimating genetic map
> Błąd w poleceniu 'if ((is.matrix(map) && (any(diff(map[1, ]) < 0) || any(diff(map[2, ':
> brakuje wartości tam, gdzie wymagane jest TRUE/FALSE
> Dodatkowo: Komunikaty ostrzegawcze:
> 1: W poleceniu 'read.cross.csv(dir, file, na.strings, genotypes, estimate.map, ':
> The following unexpected genotype codes were treated as missing.
> |4|14|5|6|8|7|144|
> 2: W poleceniu 'read.cross.csv(dir, file, na.strings, genotypes, estimate.map, ':
> There is no genotype data!
> 3: W poleceniu 'summary.cross(cross)':
> The genetic maps should all be matrices with two rows.
> Probably my csv file is not correct prepared (csv file I have included as P5new do Rqtl.csv). I could not find any csv file for 4-way cross.
> Only example fake.4way, but this is not in csv format.
>
> I will be very grateful for your response and help.
>
> Best regards,
>
> Pawel
> <P5new do Rqtl.csv>