addFeatsPerc
¶
addFeatsPerc
Description¶
Calculates the total percentage of (normalized) counts for a subset of selected genes
Usage¶
addFeatsPerc(
gobject,
spat_unit = NULL,
feat_type = NULL,
expression_values = c("normalized", "scaled", "custom"),
feats = NULL,
vector_name = "feat_perc",
return_gobject = TRUE
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
spatial unit |
|
feature type |
|
expression values to use |
|
vector of selected features |
|
column name as seen in ``pDataDT` <#pdatadt>`_ |
|
boolean: return giotto object (default = TRUE) |
Value¶
giotto object if return_gobject = TRUE
, else a vector with % results