def save_sparse_data(self, fname):
data = self.adata_raw.X.T<EOL>if data.getformat()=='<STR_LIT>':<EOL><INDENT>data=data.tocsc()<EOL><DEDENT>cell_names = np.array(list(self.adata_raw.obs_names))<EOL>gene_names = np.array(list(self.adata_raw.var_names))<EOL>pickle.dump((data, cell_names, gene_names), open(fname, '<STR_LIT:wb>'))<EOL>
Saves the tuple (raw_data,all_cell_names,all_gene_names) in a
        Pickle file.

        Parameters
        ----------
        fname - string
            The filename of the output file.