This function is very specific to brain cell/nuclear data where Neun is used as a stain for neuronal vs. non-neuronal identity. This function determine's whether a cluster is predicted to be neuronal or non-neuronal based on expression of Neun.
check_neun(
anno,
cluster,
neun.thresh = 0.5,
neun.colname = "facs_population_plan",
neun.val = "NeuN-pos"
)anno dataframe which must include column name listed in `neun.colname`
cluster labels for all cells along with sample_id as their names
fraction of cells expressing NeuN to be considered NeuN positive (default is 0.5)
column name in `anno` with the Neun information
value corresponding to non-neuronal marker in neun.colname in anno
returns all the clusters and true/false of whether they are Neun positive