Nothing
MTK<-
function(genos,subset,mat=NULL,power=10){
genos<-as.matrix(genos)
mode(genos)<-"numeric"
n.genos<-ncol(genos)
#Make and transform kinship matrix
if(is.null(mat)){
mat<-Mat(genos)
}
mat.adj<-(2*(mat-min(mat))/(max(mat)-min(mat)))^power
for(i in 1:n.genos){
mat.adj[i,i]<-0
}
#Return mean of kinship matrix
return(sum(mat.adj[subset,subset])/(n.genos^2))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.