Description Usage Arguments Value See Also Examples
Translate boolean population names from format exported by common software tools to a format used by COMPASS.
1 | translate_marker_names(cellpops)
|
cellpops |
|
character
vector of cell population names used by COMPASS
select_compass_pops
1 2 3 4 5 6 7 8 9 10 11 12 13 | #Generate marker names
markers = LETTERS[1:4]
pos = c("+","-")
popnames = apply(expand.grid(pos,pos,pos,pos),1,
function(x) paste(paste(paste(markers,x,sep=""),
collapse=""),",Count",sep=""))
popnames = sample(c(popnames,
paste(paste(markers,sample(c("+","-"),
length(markers),replace=TRUE),sep=""),
",Count",sep="")))
popnames = popnames[select_compass_pops(popnames,LETTERS[1:4])]
#Translate
translate_marker_names(popnames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.