filterByClass.RdReturn a filter of TRUE/FALSE values for a given piece of meta-data (e.g., broad class).
filterByClass(
classVector,
sampleInfo,
classColumn = "cluster_type_label",
clusterColumn = "cluster_label",
threshold = 0.1
)vector corresponding to the class information for filtering (e.g., vector of label calls)
matrix of sample information with rows corresponding to cells and columns corresponding to meta-data
column name of class information
column name of cluster information
minimum fraction of cluster cells from a given class to be considered present
a matrix of filters with rows as clusters and columns as classes with entries of TRUE or FALSE indicating whether cells from a given class can assigned to that cluster, given threshold.