Cell Filtering

Cell filtering is used to filter cells based on different criteria. CytoAnalyst provides multiple ways to filter cells:
Select cells from plot: Select cells from visualizations
Metadata Filters: Filter cells based on metadata
Cluster Filters: Filter cells based on clusters
Annotation Filters: Filter cells based on annotations
All the filters are then combined to create a final set of cells that can be used for further analysis.
Select Cells from Plot
To enable cell selection from plots, click on the Select Cells from Plot
button. This will enable cell selection from the visualizations.

The selection tools allow you to:
Select one or multiple areas on the plot to select cells
Select cells by drawing a rectangle or a lasso (freehand) shape
Select cells from multiple plots and:
Union: Select cells that are present in any of the selected plots
Intersection: Select cells that are present in all of the selected plots
Custom: Build your own query to select cells from multiple plots
To begin selecting cells, simple draw a shape on the plot. The image below shows an example of selecting cells from two scatter plots:

After each selection, the number of selected cells is displayed in the Cell Filter panel. Here, you can further refine the selection using the query builder.

In the query builder, you can:
Union: Select cells that are present in any of the selected plots. By default, this option is selected.
Intersection: Select cells that are present in all of the selected plots.
Custom: Build your own query to select cells from multiple plots. When you select this option, a query builder is displayed where you can build complex queries to select cells based on different criteria.
You can use the following operators to build your query:
AND: Select cells that meet all the conditions.
OR: Select cells that meet any of the conditions.
in: Select cells that are present in the selected plot.
not in: Select cells that are not present in the selected plot.
Once you have selected the cells, click the Close Selection
button to apply the selection.
Sample Filters
To filter cells based on samples, select the samples you want to filter from the Sample
dropdown. Only cells from the selected samples will be included in the final selection.
Metadata Filters
To filter cells based on metadata, expand the Metadata Filters
section. Here, you can filter cells based on metadata fields and values.

Click on
Add Metadata Filter
to add a new filter. You can add multiple filters to further refine the selection.To remove a filter, click on the
Remove
button next to the filter.Only cells that meet all the filter criteria will be selected.
Cluster Filters
To filter cells based on clusters, expand the Cluster Filters
section. Here, you can filter cells based on clusters similar to metadata filters.
Annotation Filters
To filter cells based on annotations, expand the Annotation Filters
section. Here, you can filter cells based on annotations similar to metadata filters.