Startrac.run | R Documentation |
warpper function for Startrac analysis
Startrac.run(cell.data, proj = "CRC", cores = NULL, n.perm = NULL, verbose = 0)
cell.data |
data.frame. Each line for a cell, and these columns as required: 'Cell_Name', 'clone.id', 'patient', 'majorCluster', 'loc' |
proj |
character. String used to annotate the project. |
cores |
integer. number of core to be used. default: NULL. |
n.perm |
integer. number of permutation will be performed. If NULL, no permutation. (default: NULL) |
verbose |
integer. verbose level indicate how to include intermediate result (some Startrac objects) |
run the Startrac pipeline
an list contains data.frame elements "cluster.data","pIndex.migr" and "pIndex.tran"
library("Startrac")
dat.file <- system.file("extdata/example.cloneDat.Zhang2018.txt",package = "Startrac")
in.dat <- read.table(dat.file,stringsAsFactors = FALSE,head=TRUE)
out <- Startrac.run(in.dat, proj="CRC", cores=2,verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.