Skip to content

Allow input of genetic relationship matrix for designs to optimise relationship adjacency #39

@rogerssam

Description

@rogerssam

Probable code for genetic relatedness between columns of D (design matrix) if user passes in G.

rn <- rownames(G)
m1 <- match(c(D[1:(n - 1),]), rn)
mn <- match(c(D[2:n,]), rn)
rsim <- sum(G[cbind(m1, mn)]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions