Determine which complexes to create plots for

getComplexesToPlot(
  featureCollections,
  complexCandidates,
  maxNbrComplexesToPlot,
  maxComplexSimilarity
)

Arguments

featureCollections

A CharacterList with feature set definitions.

complexCandidates

A character vector with feature set names that are candidates for plotting. More significant candidates should appear earlier in the vector.

maxNbrComplexesToPlot

A numeric scalar indicating the maximum number of complexes that can be selected.

maxComplexSimilarity

A numeric scalar. If a complex C is more similar than maxComplexSimilarity to a complex earlier in the vector, which has been selected for plotting, C will not be selected.

Value

A character vector with feature sets from complexCandidates selected for plotting.

Author

Charlotte Soneson