Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
10X is releasing a new version of CellRanger that is changing the output format. This pull request makes Seurat forward compatible with the new version. In particular, the following changes are made:
HDF5 Format - The format of this file is changing. As Seurat is making HDF5r optional, the
Read10X_h5
function will no longer be the preferred way to load data, and we have added an error message if newer (and incompatible files are loaded.)Text File Formats - In order to save disk space, the sparse matrix and barcode text files will now be gzipped. As R automatically identifies and correctly reads gzipped files, no changes were needed to account for this other than appending a suffix when necessary. Additionally, in order to account for experiments that have "multimodal" datasets, the
gene.tsv
will instead become thefeatures.tsv
file. This file will contain an additional column describing the type of feature referred to in that row of the matrix.In order to help users follow the multimodal vignette and analyze this type of data, rather than return one matrix, with multimodal data a list of matrices are returned, with the name of each element in the list corresponding to the type of data. As this new data is distinct from the older types of data shown in past tutorials, we print a message when this occurs so the user is aware that they have different data types.
Very small test data files and associated tests were added to verify the expected behavior.