Skip to contents

get each transcript's score based on score matrix and chosen cell-type

Usage

getScoreCellType_gene(
  score_GeneMatrix,
  transcript_df,
  transID_coln = "transcript_id",
  transGene_coln = "target",
  celltype_coln = "cell_type"
)

Arguments

score_GeneMatrix

a gene x cell-type score matrix

transcript_df

the data.frame of transcript_ID and cell_ID

transID_coln

the column name of transcript_ID in transcript_df

transGene_coln

the column name of target or gene name in transcript_df

celltype_coln

the column name of cell type in transcript_df

Value

a named vector with score of given cell type in values and transcript_id in names