tap.object <- newTapestriExperimentExample() # example TapestriExperiment object
colData(tap.object)$gRNA1 <- 2 # example barcode counts
colData(tap.object)$gRNA2 <- 10 # example barcode counts
tap.object <- callSampleLables(tap.object,
input.features = c("gRNA1", "gRNA2"),
output.feature = "sample.grna"
)
Run the code above in your browser using DataLab