Description Usage Arguments Value Author(s) Examples
View source: R/prepare_dataset.R
This function takes the output list of the function "intersect" and stores the intersected value of the factor and annotation files into a dataframe. The values corrsponding to the entries in annotation file represents the corresponding value of in each cell line. If an entry is not found in a factor file, its corresponding value will be 0.
1 | merge_cells(list, Cells)
|
list |
Full path of the file containing name of the Annotations (e.g. gene) in a single column |
Cells |
output list of function "integrate()" |
A dataframe wich rows corresponding to each entry in annotation file and columns corresponding to the intersected value with the corresponding annotation in each cell line.
Subhadeep Das
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | anno <- system.file("extdata/annotation2/TSS_groups.bed",
package = "OMICsPCAdata")
fact <- system.file("extdata/factors2/demofactor",
package = "OMICsPCAdata")
Cells <- intersect(fact = fact, anno = anno)
list <- system.file("extdata/annotation2/TSS_list",
package = "OMICsPCAdata")
merged_Cells <- merge_cells(list = list, Cells = Cells)
head(merged_Cells)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.