R/query_custom_value.R

Defines functions query_custom_feature_value

query_custom_feature_value <- function(id) {
  # 为简单起见,暂不支持 genomic signature 组合多个特征值特性
  message("Reading custom feature data from temp directory.")
  fData <- readRDS(file.path(tempdir(), "custom_feature_data.rds"))
  colnames(fData)[1] <- "sample"
  fData <- fData %>%
    dplyr::filter(.data$sample %in% id)
  value <- fData[, -1]
  names(value) <- colnames(fData)[-1]
  value
}

Try the UCSCXenaShiny package in your browser

Any scripts or data that you put into this service are public.

UCSCXenaShiny documentation built on May 29, 2024, 1:10 a.m.