R/clusters_communities_morisita_index.R
clusters_communities_morisita_index.Rd
Calculate the morisita index between different clusters or communities
clusters_communities_morisita_index( formatted_data_with_clusters_or_communities, column_to_consider, clusters_or_communities_of_interest = NULL, CI = 0.95 )
formatted_data_with_clusters_or_communities | A dataframe output from identify_cell_clusters or identify_cell_communities |
---|---|
column_to_consider | Column name to consider as community/clusters |
clusters_or_communities_of_interest | A vector containing the names of clusters/communities to calculate morisita index |
CI | Confidence interval for calculating morisita index |