Adds new columns to the gene data in SingleSampNiche objects.
Usage
AddSSNicheGenes(STID_obj, ...)
# S3 method for class 'STID'
AddSSNicheGenes(
STID_obj = NULL,
gene = NULL,
label = NULL,
add_colnm = NULL,
loop_id = "LoopAllSamp",
niche_key = NULL,
...
)Arguments
- STID_obj
An STID object
- ...
Additional arguments passed to methods
- gene
Character vector, gene names to annotate
- label
Character vector, labels to assign to genes (optional)
- add_colnm
Character, name of new column to add
- loop_id
Character vector, sample identifiers
- niche_key
Character, niche key to modify