ArchR icon indicating copy to clipboard operation
ArchR copied to clipboard

How label Group list after integratin scRNA-seq and scATAC-seq data

Open IqRaZaFaR16 opened this issue 8 months ago • 3 comments

Hello everyOne i have a question related to created Group list after integrating scRNA-seq data with scATAC-seq data we have identify totaly 6 clusters from both scRNA and scATAC-seq whats the logic behind this to generate group list Image should i consider number of cells compared with scRNA-seq and scATAC-seq

# Define the groupList based on the clusters and developmental stages
groupList <- SimpleList(
    G1 = SimpleList(
        ATAC = Merged.proj2.SPG$cellNames[
            Merged.proj2.SPG$Clusters %in% c("C4")  
        ],
        RNA = colnames(SPG.seRNA)[
            SPG.seRNA$idents.rename2 %in% c("G1") 
        ]
    ),
    preL = SimpleList(
        ATAC = Merged.proj2.SPc$cellNames[
            Merged.proj2.SPc$Clusters %in% c("C3")  
        ],
        RNA = colnames(SPc.seRNA)[
            SPc.seRNA$idents.rename2 %in% c("preL") 
        ]
    ),
    ePL = SimpleList(
        ATAC = Merged.proj2.SPc$cellNames[
            Merged.proj2.SPc$Clusters %in% c("C5")  
        ],
        RNA = colnames(SPc.seRNA)[
            SPc.seRNA$idents.rename2 %in% c("ePL")
        ]
    ),
    IPL = SimpleList(
        ATAC = Merged.proj2.SPc$cellNames[
            Merged.proj2.SPc$Clusters %in% c("C2")  
        ],
        RNA = colnames(SPc.seRNA)[
            SPc.seRNA$idents.rename2 %in% c("IPL")
        ]
    )
    mPL = SimpleList(
        ATAC = Merged.proj2.SPc$cellNames[
            Merged.proj2.SPc$Clusters %in% c("C6")  
        ],
        RNA = colnames(SPc.seRNA)[
            SPc.seRNA$idents.rename2 %in% c("mPL")
        ]
    ),
    L = SimpleList(
        ATAC = Merged.proj2.SPc$cellNames[
            Merged.proj2.SPc$Clusters %in% c("C1")  
        ],
        RNA = colnames(SPc.seRNA)[
            SPc.seRNA$idents.rename2 %in% c("L")
        ]
    ),)

IqRaZaFaR16 avatar Apr 07 '25 02:04 IqRaZaFaR16