Make_AnnTable.Rd
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
Make_AnnTable(
redeemR = DN4_HSC_redeemR.Sensitive,
Multiome = Donor04_HSC_Multiome_wrapper,
clonal_features = c("nCount_mitoV", "seurat_clusters"),
clonal_features_rename = c("nCount_mitoV", "clone_clusters"),
CellMeta_features = c("meanCov", "nCount_RNA", "nFeature_RNA", "nCount_ATAC",
"nFeature_ATAC", "CellType"),
CellMeta_features_rename = c("Mito_meanCov", "nCount_RNA", "nFeature_RNA",
"nCount_ATAC", "nFeature_ATAC", "CellType"),
multiome_features = c("seurat_clusters"),
multiome_features_rename = c("NewSeurat_cluster"),
RNAUMAP = T,
ATACUMAP = T,
WNNUMAP = T,
PCA = F,
LSI = F,
Variants = "",
genes = "",
peaks = "",
PostTrans_from = c(2, 3),
PostTrans_to = c(2, 1)
)
eg. DN4_HSC_redeemR.Sensitive
eg. Donor04_HSC_Multiome_wrapper, Multiome_wrapper object that matches with the redeemR, a reclustering using Multi_Wrapper() is recommended
eg. c("nCount_mitoV","seurat_clusters"), The column names take from redeemR@Seurat@meta.data, importantly the clonal clusterings
eg. c("nCount_mitoV","clone_clusters") Rename the clonal_features
eg. c("meanCov","nCount_RNA","nFeature_RNA","nCount_ATAC","nFeature_ATAC","CellType") The column names take from redeemR@CellMeta, may useful cell features
eg. c("Mito_meanCov","nCount_RNA","nFeature_RNA","nCount_ATAC","nFeature_ATAC","CellType") Rename the CellMeta
eg. c("seurat_clusters") The column names take from Multiome@meta.data
eg. c("NewSeurat_cluster") Rename the column names for multiome_features
default T
Default T
Default T
Default T
Default T
Default "" can be a vector of variant names format is eg "Variants10020TC"
Default "" can be a vector of gene names, for example c("HLF","CD34")
Default "" can be a vector of peaks names
Default c(2,3) # This is a tricky part eh nmerging files are involved, find the postfix from cellranger agg for different sample
Default c(2,1)
AnnTable