All functions |
|
---|---|
Wrap Seurat ATAC clustering |
|
AddDatatoplot_clustering This prepare the clonal clustering data to plot |
|
AddDatatoplot_clustering This prepare the clonal clustering data to plot |
|
AddDist This add Jaccard, Dice, Jaccard3W distance and stored in DistObjects |
|
AddDist This add Jaccard, Dice, Jaccard3W distance and stored in DistObjects |
|
Function to add hematopoietic signatures from Griffin_Signatures |
|
Add_Tree Optional, if a phylogentic tree object phylo is already available, can be directly added to the redeemR class in slot TREE |
|
Add_Tree Optional, if a phylogentic tree object phylo is already available, can be directly added to the redeemR |
|
a function to assign variants to edges based on maximum likihood |
|
Add_AssignVariant a function to assign variants to edges based on maximum likihood |
|
Add_DepthMatrix Optional, add a matrix with same dimension with the Cts.Mtx and Cts.Mtx.bi, which display the depths |
|
Add_DepthMatrix Optional, add a matrix with same dimension with the Cts.Mtx and Cts.Mtx.bi, which display the depths |
|
a function to cut tree using assigned variant as branch-length on edge |
|
Add_tree_cut a function to cut tree using assigned variant as branch-length on edge |
|
Compute distances for binary distances |
|
Internal CV |
|
Define a function to perform Find marker for top vs bottom clones This function was developed based on DN4T2.basics.ipynb |
|
Function to compute the reject rate(The filtering rate in concensus variant calling) |
|
Internal function in plot_variant |
|
Create_mitoTracing |
|
Create_redeemR |
|
DE.gettripple |
|
An intermediate S4 class Datatoplots |
|
Function to summarize the depth (Total that passed Q30) |
|
An intermediate S4 class Datatoplots |
|
DoDE |
|
FromDist2Graph From distance object or matrix to graph, default is to return igraph object This function was developed based on |
|
Wrap Seurat RNA clustering |
|
Function to generate GTS summary |
|
Get_Clonal_Variants |
|
plot_npSummary to plot the lineage composition |
|
Define a function make the Allnodes(Node|Parent|Freq|CladeSize), where Freq is the number of variants assigned to the node(as ending point) from redeemR object, |
|
MakeDF4Regress Define a function to make two dataframe for regression analysis This function was developed based on HSC_multiome_Het_2.ipynb |
|
Define a function to make nn list, which can be further used to make adjacency matrix This scan row by row, looking for k.param nearest neighbours |
|
Make_AnnTable, Make a big dataframe, each row is a cell, each column includes info such as clonal UMAP, Clonal ID, ATAC/RNA/WNN UMAP, PCA, gene expression of chosen gene, etc. Require a redeemR object and a multiome wrapper that better matches the cells in the redeemR |
|
Define a function to make a list, each contains the cell names for a node |
|
Make_matrix This will make the matixies of Cell VS mitochondrial variants and return redeemR Results stored in Cts.Mtx and Cts.Mtx.bi |
|
Make_matrix This will make the matixies of Cell VS mitochondrial variants and return redeemR Results stored in Cts.Mtx and Cts.Mtx.bi |
|
Make_tree This will generate a basic phylogenetic tree |
|
Make_tree This will generate a basic phylogenetic tree |
|
Function to Merge sparse Matrix |
|
Motifenrich.binom In house function to compute enrichment from Fimo This function was developed based on HSC_multiome_Het.ipynb and HSC_multiome_Het_2.ipynb |
|
Wrap Seurat Multiomics clustering |
|
Function to plot bulk level mutation signatures |
|
Define a function convert nn list to adjacency matrix that can be further used for igraph |
|
Define a function to perform single-cell based hard porogeny assignment This function was developed based on DN4T2.basics.ipynb |
|
ProgenyMapping_np Define a function to compute network propagation based probability FromDist2Graph is needed to convert fistance matrix into MNN graph |
|
Function to reclustering a seurat object |
|
Function to reclustering_hm a seurat object with Harmony |
|
Run_Lin_regression |
|
Run_Lin_regression_poi Firstly used in HSC_multiome_Het_2.ipynb This function was developed based on |
|
plot_npSummary to assess the outputlevel vs lineage bias, normalize by assigned |
|
plot_npSummary to assess the outputlevel vs lineage bias, normalize by HSC original clone size |
|
SeuratLSIClustering This will use the mito variants for Seurat clustering (LSI based) |
|
SeuratLSIClustering This will use the mito variants for Seurat clustering (LSI based) |
|
Function to plot consensus mtDNA mutation benchmark |
|
Subset_redeemR Subset a redeemR object by selecting a subset of cells, return a new redeemR object with only 4 slots: para; CellMeta; Cts.Mtx.bi; UniqueV, can be used for downstreme compute distance, clonal clustering, make tree, etc |
|
An intermediate S4 class Tree that store tree info |
|
Tomerge_v2 |
|
Function to translate the RNA barcode into ATAC barcode and add a column |
|
Translate_simple_ATAC2RNA |
|
Translate_simple_RNA2ATAC |
|
Function to filter variants, deprecated |
|
Function to filter variants, v4 |
|
This is a convinience function, internal borrowed from https://github.com/NickWilliamsSanger/treemut/blob/main/R/treemut.R#L68 |
|
This is a convinience function, internal |
|
This is a convinience function, internal borrowed from https://github.com/NickWilliamsSanger/treemut/blob/main/R/treemut.R#L68 |
|
Function to plot the mito depth summary |
|
plot_npSummary to assess the outputlevel |
|
Function to plot variant metrics |
|
Compute weighted cosine distance |
|
Compute weighted jaccard distance |
|
This is a function borrowed from https://github.com/NickWilliamsSanger/treemut/blob/main/R/treemut.R#L68 Input phylo object, return a "profile matrix"--Edge(or denoted as the ending node) vs cell. a 0, 1 character string that indicate what cells in a given node |
|
Major redeem class that store clonal-resolved multi-omics |
|
Function to read in mitoV outputs |
|
show This will show the basics of redeemR class |
|
This is a convinience function, internal borrowed from https://github.com/NickWilliamsSanger/treemut/blob/main/R/treemut.R#L68 |
|
This is a convinience function, internal |