| main | R Documentation |
main is the main part of LINEAGE for lineage analysis.
main(d = d, centers = 3, nmarker = 16)
d |
A list containing 12 submatrices with different mutation types. Output of data_prepare(). Required. |
centers |
Integer. The number of clusters used in Kmeans procedure. Default: 3. |
nmarker |
Integer. The number of markers showed in final result. Default: 16. |
Main function
A list containing lineage analysis result.
data("TF1_clones")
data=TF1_clones$data
d=data_prepare(data)
a=dim(d[[1]])[2]
if(a>100){
nmarker=c(15,20)
centers=3
}else{
nmarker=c(10,15)
centers=2
}
result=main(d, centers, nmarker)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.