This repo contains code to reproduce figures in the manuscript "MultipleXed Population Selection and Enrichment single nucleus RNA sequencing (XPoSE-seq) enables sample identity retention during transcriptional profiling of rare populations"
xpose's Introduction
xpose's People
xpose's Issues
Adding source to prep_psuedobulk and run_DEseq
@padmashris Could you add source to the previously mentioned functions?
They both call verify_factor
Thanks!
mk_mega_tbl() name changes
@DJT333 change the list of data to be named using the tester object with names to enter the mk_mega_tbl function
Final object tweaks
-Capitalize the final group names
01_assign_metadata error
is there something that's missing here? I don't fully understand what the function is doing
lines 62-67 from the 01_assign_metadata_make_initial_object.R file:
#order them
invisible(lapply(objects, function(name) {
df <- get(name) # Get the data frame from the environment
modified_df <- sort_dataframe(df) # Apply the function to the data frame
assign(name, modified_df, envir = .GlobalEnv) # Update the data frame in the environment
}))
Add Clustree script
Add to Supplemental folder
Calculate silhouette score
Add as a separate script in CreateObjectsAndClusters
Simplify assign meta data and create object script
Combined 01_ and 02_createObjectwithmetadata
-Remove pseudogenes & model genes
Proportion plot stats
Figure 1 code and add_STreads
source()
@DJT333 can you make changes to line 22: use source()
and not have a dependency on the output of another script
Merge with main conflict
@ksavell can you push the gaba_v2 file that you modified once again?
Prep and make_upset underscore issue
If the cluster name has an underscore, there is an issue with prep_upset and make_upset.
~Line 17 within prep_upset, involves string split and underscores!
make_heatmap.R function
UMAP coloring
subset_reclust.R not working as expected
Please help!!
I define clusters to keep in the subset as clust_tokeep. When I run line 57 I get
Cannot find the following identities in the object: 0123456781213141516171920212429
I think this means it's not separating the clust_tokeep into different idents.
Proportion table calculating proportion for all rows/column
calc_proportions.R
When it calculates the proportion, it's for the total of all factors.
For example, if we are using it to calculate cluster populations for each rat/population, we need it to calculate the proportion relative to the nuclei collected from each rat's population.
Differential expression script
i don't like the umap splitting
bla bla
Inclusion threshold for pseudobulk
In figure2.R line 66, I expect all clusters to be ran for glut since there are > 100 nuclei per cluster in each cluster.
CTL6 CTL6b ITL23 ITL56 NPL56 PTL5
Active 334 6 525 737 26 233
Homecage 2817 295 2824 2913 464 1271
Non-active 1121 100 1306 1262 180 598
Table:
Non-active Homecage
ITL56 737 2913
ITL23 525 2824
CTL6 334 2817
PTL5 233 1271
However, I think it's still using Active for the inclusion criteria despite what is in the comp_vect spot
save_vlnplot.R tweaks
Trying to automate this to produce nCount_RNA and nFeature_RNA for glut and gaba:
-set the plot to be a certain size. If testing between glut/gaba there is a difference in cluster name length, and the violins get squished. In the plot it's 1.5 x 1.5 inches.
-No labels, was adding them back as correct font, size, and color.
create_object01 adding cartridge as prefix to gene names
I was examining the resulting objects after line 58 and noticed that the gene names under the RNA counts have the cartridge identity as a prefix
Example: c2.X0610005C13Rik
Found this under:
data_C2@assays[["RNA"]]@CountS@Dimnames[[1]]
Shiny: Cluster-specific option
(Adding here to keep organized)
Can there be another tab or option for 'cluster specific plots' where there is a dropdown for which cluster you want to look at?
Right now when it groups by group/sex/rat it collapses by cluster
Shiny GABA dataset v2 feedback
Giving this a try :)
I tweaked a few things, but here are things I don't know how to change immediately:
Can the correlation plot between 2 genes be worked in? Perhaps it has to be a different tab? The first tab could be 'Single gene analysis' instead of 'GABA dataset' on the output section, then another tab for 'Multiple gene analysis'. This is me assuming multiple tabs are an option
Can all features be italic? This will conform with gene naming standards.
I noticed on the 'split by: group' feature plots, the i's are capitalized in negative and positive.
Can you make the colors specific to the hex codes in the formatting file? This might be a larger issue that we need to mod the base seurat objects (along with 'renaming' the clusters from the numbers to the cluster names)
PS: I like the hover color on the drop downs!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.