Import Cell Annotations
Import Cell Annotations can import annotations for each cell. The importer produces Cell Annotations (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 (
) | Single Cell Data (
) | Import Cell Annotations (
).
The following options are available:
- Data file. A single file in .csv, .tsv or .xlsx format. The first row in the file is a header. Each subsequent row describes a cell. Empty lines are ignored.
- First column defines sample. When this is enabled, the sample name and barcode are read from the first and second columns in the file, respectively. Otherwise, the first column is used to extract the barcode and optionally the sample, as defined in Cell format. Subsequent columns represent categories containing information about the cells.
- Cell format and Sample. How cells are identified, see Cell format in importers for more details.
- Element with cells (Optional). When an element with cells is supplied, the sample name is taken from the element. If the previous options also provide sample names:
- If different from the element, the importer fails with an error. This can be useful when checking that the file being imported matches the supplied element.
- Rows in the file describing cells that are not in the element are skipped.
Note that the sample name can only be set using only one of the First column defines sample, Cell format, or Sample options. If none of the previous options are used and Element with cells is set, the element must be for one sample only.
- Import columns (Optional). Only import the specified columns. If left empty, all columns are imported.
The importer can be used in workflows. See On-the-fly import in workflows for details.
