remove_duplicated_rows: Removes data (collapses) with duplicated names

Description Usage Arguments Value

View source: R/pseudobulking.R

Description

Will collapse a cds based on duplicated labels that have the greatest variance

Usage

1
2
3
4
5
remove_duplicated_rows(
  cds,
  fdata_col = "gene_short_name",
  unique_labels = "id"
)

Arguments

cds

Input cell_data_set object.

fdata_col

the non-unique labels (i.e. Gene Symbol)

id

the unique labels (i.e ENSEMBL)

Value

cds collapsed to only include the duplicated fdata_col label with the highest varience compated to all other identical fdata_col labels


scfurl/m3addon documentation built on Aug. 9, 2021, 5:30 p.m.