ArchR_ExtractIds: ArchR function: Extract IDs for plotting

View source: R/ArchR_ExtractIds.R

ArchR_ExtractIdsR Documentation

ArchR function: Extract IDs for plotting

Description

This function extracts the IDs to be plotted, either by cut off or cut off + top n features

Usage

ArchR_ExtractIds(
  seMarker,
  cutOff = "FDR <= 1 & Log2FC >= 0",
  top_n = TRUE,
  n = 10,
  group_name = "clusters"
)

Arguments

seMarker

the se object created ArchR::getMarkerFeatures

cutOff

string to filter features, eg by FDR or Log2FC

top_n

boolean to extract top n features

n

if top_n is TRUE, extract top n features

group_name

name of grouping to be used when extracting top n features

Value

means matrix for plotting


alexthiery/scHelper documentation built on Aug. 26, 2023, 3:42 p.m.