projback {RaceID} | R Documentation |
Compute Cell Projections for Randomized Background Distribution
Description
This function computes the projections of cells onto inter-cluster links for randomized cell positions in a high-dimensional embedded space. Significance of link based on an increased number of cells on a link is inferred based on this background model.
Usage
projback(object, pdishuf = 500, fast = FALSE, rseed = 17000, verbose = TRUE)
Arguments
object |
|
pdishuf |
Number of randomizations of cell positions for which to compute projections of cells on inter-cluster links. Default is 2000.
No randomizations are needed in this mode and the function will do nothing. Default is |
fast |
logical. If |
rseed |
Integer number used as seed to ensure reproducibility of randomizations. Defaut is 17000. |
verbose |
logical. If |
Value
An Ltree class object with all information on randomized cell projections onto links stored in the prbacka
slot.
Examples
sc <- SCseq(intestinalDataSmall)
sc <- filterdata(sc)
sc <- compdist(sc)
sc <- clustexp(sc)
sc <- findoutliers(sc)
sc <- comptsne(sc)
ltr <- Ltree(sc)
ltr <- compentropy(ltr)
ltr <- projcells(ltr,nmode=FALSE)
ltr <- projback(ltr,pdishuf=50)