add_ENSID: add ENSID

View source: R/smooth.R

add_ENSIDR Documentation

add ENSID

Description

Add ENSEMBLE ID to the first column of your data.frame

Usage

add_ENSID(Kmeans_result, GeneInf1 = NULL, Spec1 = "")

Arguments

Kmeans_result

Kmeans result data.frame, row names should be Symbol ID

GeneInf1

data.frame, correspondence file of gene ID, row names should be ENSEMBLE ID, first column should be Symbol ID, if GeneInf1 = NULL this function will be built-in corresponding gene ID file.

Spec1

If you don’t have a gene ID corresponding file, you can also use our built-in corresponding gene ID file, 'Mm' for mus musculus

Value

add ENSEMBL ID to the first column of data frame

Examples

load(system.file("extdata", "test_clustering.rda", package = "IReNA"))
add_ENSID(test_clustering, Spec1 = "Hs")

jiang-junyao/IReNA documentation built on Nov. 4, 2024, 8:29 p.m.