Skip to content

mgildea87/CVRCFunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVRCFunc

To install run devtools::install_github('mgildea87/CVRCFunc') This is a simple package that will include R functions I think will be useful for others in the CVRC. The idea is to have them in a centralized location so we can all use them.

FindMarkersBulk()

This function performs a similar task to Seurat's FindAllMarkers() but does so by pseudobulking by sample and then performing DESeq2. For each cluster, counts from cells are pseudobulked from the cluster of interest and from all other clusters. This generates 2 pseudobulks for each sample for each cluster. The cluster of interest pseudobulks are then compared to pseudobulks from all other clusters using DESeq2.

FindMarkersCondition()

This function performs psuedobulked differential expression analysis for each cluster (or other identity specified) between samples from 2 specified conditions.

FindMarkers()

This function performes pseudobulked differential expression analysis between 2 groups of cells specified via 'group_1' and 'group_2' for a given meta data identity specified with cluster_ident. Sample identity for pseudobulking is supplied via 'sample_ident'.

ExportSeuratMeta()

This function exports seurat meta data for use in RNA velocity analysis. specifically, .csv files of reformatted sample/cell barcodes, cell by cluster mappings, cell by embedding coordinates, and color palette for plotting.

ExportSeurath5ad()

Converts and saves a seurat object integrated assay as .h5ad. For use in RNA velocity analysis.

StackedVlnPlot()

Creates a stacked violin plot from a Seurat object and a vector of gene/feature names.

UpdateAnno()

Updates metadata in a seurat object given a user supplied .csv file.

FindClusterSweep()

Runs seurat's FindClusters accross a range of resolutions and outputs common clustering QC metric plots for each.

BetterVlnPlot()

Generates a violin plot with pleasing aestetics from a Seurat object and a vector of gene/feature names.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages