Compute Cell Projections for Randomized Background Distribution
Compute Cell Projections for Randomized Background Distribution
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.
projback(object, pdishuf =500, fast =FALSE, rseed =17000, verbose =TRUE)
Arguments
object: Ltree class 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 TRUE.
fast: logical. If TRUE and nmode=FALSE cells will still be assigned to links based on maximum projections but a fast approximate background model will be used to infer significance. The function will do nothing in this case. Default is FALSE.
rseed: Integer number used as seed to ensure reproducibility of randomizations. Defaut is 17000.
verbose: logical. If FALSE then status output messages are disabled. Default is TRUE.
Returns
An Ltree class object with all information on randomized cell projections onto links stored in the prbacka slot.