Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added spatial experiment handling #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

roramirezf
Copy link
Member

in viper_wrapper.R I added handling of the new SpatialExperiment

@christianholland
Copy link
Collaborator

christianholland commented Mar 31, 2021

Please also add a set of appropriate unit tests (see here:

test_that("test run_viper with seurat as input", {
)

Please also bump the version in the DESCRIPTION file and provide a summary of the changes in the NEWS file

# include TF activities into SingleCellExperiment object
dorothea_se <- SummarizedExperiment::SummarizedExperiment(tf_activities)
SummarizedExperiment::assayNames(dorothea_se) <- "tf_activities"
SingleCellExperiment::altExp(input, "dorothea") <- dorothea_se

return(input)
}

#' @export
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you export this, shouldn't it have some docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants