unanalyzed_clusters: Get unanalyzed cluseter IDs

Description Usage Arguments Value See Also Examples

View source: R/plate-attribs.R

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

1
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

1
2
3
4
5
6
7
## 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, .)

## End(Not run)

ddpcr documentation built on July 8, 2020, 6:49 p.m.