preprocess_TFIDF {ChromSCape} | R Documentation |
Preprocess scExp - TF-IDF
preprocess_TFIDF(scExp, scale = 10000, log = TRUE)
scExp |
A SingleCellExperiment Object |
scale |
A numeric to multiply the matrix in order to have human readeable numbers. Has no impact on the downstream analysis |
log |
Wether to use neperian log on the TF-IDF normalized data or not. |
A SingleCellExperiment object.
raw <- create_scDataset_raw() scExp = create_scExp(raw$mat, raw$annot) scExp = preprocess_TFIDF(scExp) head(SingleCellExperiment::normcounts(scExp))