ddpcr (version 1.11)

unanalyzed_clusters: Get unanalyzed cluseter IDs

Description

Get the clusters that have not been considered yet in the analysis. This means the UNDEFINED cluster (since all droplets begin as UNDEFINED) and also all clusters that are defined later than the current cluster. The latter is to ensure that when re-running an analysis step, droplets that were analyzed in a later step will still be considered for analysis.

Usage

unanalyzed_clusters(plate, current)

Arguments

plate

A ddPCR plate

current

The current cluster ID, which is used to know what clusters come after

Value

All clusters that have not yet been analyzed

See Also

cluster

Examples

Run this code
# NOT RUN {
plate <- new_plate(sample_data_dir())
unanalyzed_clusters(plate, 3)
unanalyzed_clusters(plate, cluster(plate, "OUTLIER"))
plate %>% unanalyzed_clusters(cluster(plate, "OUTLIER")) %>% cluster_name(plate, .)
# }

Run the code above in your browser using DataCamp Workspace