View source: R/mapCellsToSamples.R
mapCellsToSamples | R Documentation |
This function extracts sampleId
from the cellId
column using grep
matching.
mapCellsToSamples(cells, samples)
cells |
|
samples |
|
factor
.
Cells as the names and samples as the levels.
Updated 2022-05-04.
samples <- paste0("sample", seq_len(2L))
print(samples)
cells <- paste(samples, c("AAAAAAAA", "CCCCCCCC"), sep = "_")
print(cells)
mapCellsToSamples(cells, samples)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.