Skip to content

About the function of CreateScRank #19

Description

@baiger1

Hello, this is a very good software, but I encountered a problem when using it. I hope to answer it:
Within the same single-cell dataset, when the drug and target are substituted with entirely distinct and unrelated entities, the identical ranked cell type emerges. Here's my codes:

###1
obj <- CreateScRank(
seuratObj,
cell_type = "celltype",
species = "human",
drug = "REGORAFENIB",
target = "FRK",
type = "antagonist"
)

Constr_net(
obj,
select_ratio = 0.5,
n_selection = 10,
cut_ratio = 0.95,
keep_ratio = 0.25,
min_cells = 25,
n.core = 4,
n.core_cp = 4,
use_py = F,
env = "base"
)

obj <- rank_celltype(obj)
plot_dim(obj)

###2
obj <- CreateScRank(
seuratObj,
cell_type = "celltype",
species = "human",
drug = "FULVESTRANT",
target = "FGFR2",
type = "antagonist"
)

Constr_net(
obj,
select_ratio = 0.5,
n_selection = 10,
cut_ratio = 0.95,
keep_ratio = 0.25,
min_cells = 25,
n.core = 4,
n.core_cp = 4,
use_py = F,
env = "base"
)

obj <- rank_celltype(obj)
plot_dim(obj)

The same results appeared when running ###1 and ###2 different drugs and targets

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions