switch.order removes pulled markers from cross

29 views
Skip to first unread message

Nathaniel Burner

unread,
Feb 19, 2024, 1:57:34 PMFeb 19
to R/qtl discussion
Hi Karl,

I pulled markers from a cross using pullCross. Later, I tried to switch the order of markers on a chromosome using

qtl = switch.order(qtl, chr =13, order = c(1:100, 106:110, 101:105, 111), error.prob = 0.0001, map.function = "kosambi")

The result was a cross with the switched marker orders, however the separate lists containing the pulled markers disappeared. Is there a way to retain these lists in the cross object?

Thanks,
Nathaniel

Karl Broman

unread,
Feb 19, 2024, 3:37:56 PMFeb 19
to R/qtl discussion
pullCross appears to be an ASMap function. If it’s putting extra information in the cross object, the R/qtl functions are not guaranteed to retain that information.

karl
Reply all
Reply to author
Forward
0 new messages