I’ve run the cellranger analysis pipeline on single cell RNASeq datasets. I can import the matrix and graph-based clusters into R. Doing this I can optimise the dimension reduction and plot cells with coloured by clusters generated by cellranger. I wish to optimise the graph-based clustering as well.
Is it possible to either:
obtain the graph generated by cellranger from the files generated. (I can only find the final clusters in the analysis output)
reproduce generating a similar graph (used for clustering) from the output matrix (preferably with R or Python.
With either approach, I am looking for a list of edges for nearest neighbors in the gene-barcode UMI matrix to use as input for a clustering algorithm.