hesselberthlab / scrunchy

R toolkit for the analysis of single-cell functional heterogeneity
https://scrunchy.hesselberthlab.org/
Other
2 stars 3 forks source link

Proposed analysis workflow #6

Open kriemo opened 6 years ago

kriemo commented 6 years ago

I'd like to open an issue to map out ideas about the general workflow for the analysis. Please edit or comment if you have suggestions. A general goal is to move away from using Seurat, if possible, and replace the workflow used in barnyard_data, with our own approach. To do this, we will need to implement the following:

1) Load in the cell-associated 10x mRNA data and the cell associated and background haircut data into a single R object.

2) Generate QC plots to examine haircut signals across each hairpin from cell-associated and background barcodes.

3) Implement filtering function to exclude signal from background droplets (see #2)

4) Implement functionality to generate 2D cell projections via uMAP (see uzot for a Rcpp implementation) or tSNE and clustering via simple k-means for now.

5) Plotting function to visualize cells in uMAP/PCA/tSNE plot. Needs to color cells by mRNA, haircut, and other categorical data (e.g. sample name).

6) Add in a statistical test to test for differences in haircut/mRNA signal between clusters. Wilcox.test works pretty well.

jayhesselberth commented 6 years ago

Looks likd https://github.com/tkonopka/umap is on CRAN and may be a better choice for UMAP.

kriemo commented 6 years ago

I've added additional functionality to enable basic analysis (see scrunchy vignette).

I'll next work on the #10 to improve handling for more than just a single functional dataset.