View source: R/Single_data_input.R
Single_data_input | R Documentation |
Input the Single data in seruat format
Single_data_input(
Pagwas,
Single_data,
nfeatures = NULL,
Pathway_list = NULL,
assay = "RNA",
min_clustercells = 5
)
Pagwas |
Pagwas format |
Single_data |
Input the Single data in seruat format, Idents should be the celltypes annotation. mainly used the Single_data@assays$RNA@data |
nfeatures |
The parameter for FindVariableFeatures, NULL means select all genes |
Pathway_list |
(list,character) pathway gene sets list |
assay |
assay data of your single cell data to use,default is "RNA". |
min_clustercells |
Threshold for total cells fo each cluster. |
Pagwas list including: "Celltype_anno" "data_mat" "VariableFeatures" "merge_scexpr"
Chunyu Deng
library(scPagwas)
Pagwas <- list()
# Start to read the single cell data
Single_data <- readRDS(system.file("extdata", "scRNAexample.rds",
package = "scPagwas"
))
Pagwas <- Single_data_input(
Pagwas = Pagwas,
assay = "RNA",
Single_data = Single_data,
Pathway_list = Genes_by_pathway_kegg
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.