Import Cell Annotations
The Import Cell Annotations tool can import annotations for each cell. The importer produces Cell Annotations () that can be used to define groups of cells for use in many tools such as Differential Expression for Single Cell. Cell Annotations can also be visualized in a Dimensionality Reduction Plot.
Often the same file can be imported as either Cell Clusters or Cell Annotations. The principal advantage of Cell Annotations is that they can represent numerical data. An example might be the probability of a cell being in a particular cell cycle phase.
The importer can be found here:
Import () | Import Cell Annotations (
).
The following options are available:
- Data file a single file in .csv or .xlsx format. The first row in the file is used as the name of the columns of the imported table. Each subsequent row in the file should describe a cell (though empty lines are ignored). Cells are identified by a combination of their barcode e.g. "AAGCT" and their sample id. The first column in the file will be treated as the sample id, and the second column will be treated as the barcode. Subsequent columns are annotations on the cells. When an Expression Matrix is supplied, the sample id column may be omitted.
- Expression Matrix (optional when First column defines sample is selected). When an Expression Matrix is supplied:
- The sample id is taken from the matrix. If the file provides different sample ids than the matrix, then the importer fails with an error. This can be useful when checking that the file being imported matches the supplied matrix.
- Rows in the file describing cells that are not in the matrix are skipped.
- First column defines sample When this is enabled, there is no need to supply an Expression Matrix. However, the data file must have the sample id in the first column.