powered by
This function takes a vector of cell types and returns a shuffled version where no element remains in its original position.
GetShuffledCT(CellType)
A character vector of the same length as `CellType`, with elements shuffled such that no element remains in its original position.
A character vector representing the cell types to be shuffled.
# \donttest{ original <- c("B_cell", "T_cell", "NK_cell", "Macrophage") shuffled <- GetShuffledCT(original) print(shuffled) # }
Run the code above in your browser using DataLab