Skip to contents

VisualGRNs.

Usage

VisualGRNs(LinkageObject)

Arguments

LinkageObject

An Linkage Object after FilterGRNs .

Value

An visNetwork

Examples

library(Linkage)
data("Small_ATAC.rda")
#> Warning: data set 'Small_ATAC.rda' not found
data("Small_RNA.rda")
#> Warning: data set 'Small_RNA.rda' not found
LinkageObject <-
  CreateLinkageObject(
    ATAC_count = Small_ATAC,
    RNA_count = Small_RNA,
    Species = "Homo",
    id_type = "ensembl_gene_id"
  )
gene_list <- c("TSPAN6", "CD99", "KLHL13")
LinkageObject <-
  RegulatoryPeak(
    LinkageObject = LinkageObject,
    gene_list = gene_list,
    genelist_idtype = "external_gene_name"
  )
LinkageObject <-
  BuildGRNs(LinkageObject = LinkageObject,
                        Species = "Homo",
                        TF_cor_method = "pearson")
LinkageObject <-
  FilterGRNs(
    LinkageObject = LinkageObject,
    genelist_idtype = "entrezgene_id",
    filter_col = "FDR",
    filter_value = 0.01
  )
VisualGRNs(LinkageObject)