Dear Dr. Karl,
I am trying to do a linkage map from scratch like your previous advice
here (see below).
I modify the listeria.csv data to do my tests.
I have removed the chromosome and cM rows from data and the first rows
is like this:
pheno D10M44 D1M3 D1M75 D1M215 D1M309 D1M218
1 1 1 1 1 1
118317 B B B H H H
264 0 B B B H H
194917 0 H H H H H
264 B B H H H H
I didn't do anything more!
I run this code:
> listeria.a <- read.cross("csv", ".", "list_test.csv")
--Read the following data:
120 individuals
133 markers
1 phenotypes
--Estimating genetic map
--Cross type: f2
Warning message:
In read.cross.csv(dir, file, na.strings, genotypes, estimate.map, :
The following unexpected genotype codes were treated as missing.
|0|
> plot(listeria.a)
> listeria.est.map.est.rf = est.rf(listeria.est.map)
Error in est.rf(listeria.est.map) : Input should have class "cross".
> listeria.est.map.est.rf = est.rf(listeria.a)
> plot.rf(listeria.est.map.est.rf)
> listeria.est.rf = est.rf(listeria.a)
> listeria.formLinkageGroups = formLinkageGroups(listeria.est.rf)
> listeria.orderMakers = orderMarkers(listeria.formLinkageGroups)Error in nmar(cross) : Input should have class "cross" or "map".
>
So, I don't know what am I doing? You have advised Maria for:
begins with
est.rf()
formLinkageGroups()
orderMarkers()
ripple()
switch.order()
I suppose that the way is:
> listeria.a <- read.cross("csv", ".", "list_test.csv")
> l.est.rf = est.rf(listeria.a)
> l.formLinkageGroups = formLinkageGroups(l.est.rf)
> l.orderMakers = orderMarkers(l.formLinkageGroups)
> l.ripple = ripple(l.orderMakers)
> l.switch.order = switch.order(l.ripple)
> plot(l.switch.order)
Here we have the linkage map.
I ask you because I don't have the order of genetic markers nor their
placement on chromosomes.
Thank you very much!
Marcelo