main: main

View source: R/functions.R

mainR Documentation

main

Description

main is the main part of LINEAGE for lineage analysis.

Usage

main(d = d, centers = 3, nmarker = 16)

Arguments

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.

Details

Main function

Value

A list containing lineage analysis result.

Examples

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)


songjiajia2018/LINEAGE documentation built on Oct. 17, 2022, 6:17 a.m.