Skip to contents

get the cell type give maximum score

Usage

getCellType_maxScore(
  score_GeneMatrix,
  transcript_df,
  transGene_coln = "target",
  cellID_coln = "cell_ID"
)

Arguments

score_GeneMatrix

a gene x cell-type score matrix

transcript_df

the data.frame of transcript_ID and cell_ID

transGene_coln

the column name of target or gene name in transcript_df

cellID_coln

the column name of cell_ID in transcript_df

Value

return a named vector with cell type in values and cell_ID in names