Dear dartR Team,
I am currently working with SNP data and would like to run either a pairwise kinship matrix or an Isolation by Distance (IBD) analysis using dartR. From my understanding, dartR implements IBD estimation through a Mantel test, which requires geographic coordinates.
In my dataset, geographic coordinates are not available. The goal of my analysis is to investigate relatedness patterns that might indicate potential half-sibling relationships among individuals. Is there a way to perform either the pairwise kinship matrix calculation or an IBD analysis in dartR without spatial data? If not, would you recommend an alternative approach or function within the package that could address this?
Thank you in advance for your attention.
Best,
Juliana
Finished!
Returning a list containing the input gl object, a square matrix of pairwise kinship, and the raw EMIBD9 results table as follows:
$rel -- a square matrix of relatedness
$raw -- raw EMIBD9 results table
Starting gl.plot.heatmap
Processing a data matrix
Starting gl.colors
Selected color type div
Completed: gl.colors
Error in plot.new() : figure margins too large
> # Distance heatmap representation
> Myplot.heatmap <- gl.plot.heatmap(
+ D = Myrun.EMIBD9$rel,
+ dendrogram = "column",
+ label.size = 1,
+ legend.title = "Populations",
+ diag.na = TRUE,
+ na.color = "#B3B3B3"
+ )
Starting gl.plot.heatmap
Error: object 'Myrun.EMIBD9' not found
--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dartr/453f2bf1-2fbb-473a-ae05-c546d950c7dcn%40googlegroups.com.