Description Usage Arguments Value Examples
View source: R/write_samplesheet.R
Function is used in case data was converted from idat and sample sheet was not available with the data.
1 2 | write_samplesheet(filename,array_positions,gtc_output,manifest,experiment_name='Experiment1',
project_name='Project1',investigator_name='Investigator1')
|
filename |
name/path of the newly created sample sheet |
array_positions |
data frame storing metadata about sample id, array id and position, following columns are required: |
gtc_output |
path where GTC files are stored |
manifest |
name of the manifest file |
experiment_name |
experiment name |
project_name |
project name |
investigator_name |
investigator name |
writes external file to filename
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #library(GEOquery)
#gse <- getGEO("GSE19247",GSEMatrix = TRUE)
#manifest=system.file("files/HumanCytoSNP-12v2_H.bpm",package="SureTypeSCR")
#samplelist_sperm=as.data.frame(gse$`GSE19247-GPL6985_series_matrix.txt.gz`) %>%
# filter((str_detect(cell.type.ch1,'sperm')) & str_detect(cell.amplication.ch1,'MDA')) %>%
# rownames()
#metadf_sperm=map_if(samplelist_sperm,function(x) !is.null(x),
# function(x) getGEO_and_folder_in(x,download=TRUE))
#metadf_sperm_merged = Reduce(function(...) merge(..., all=T), metadf_sperm)
#write_samplesheet('samplesheet.csv',metadf_sperm_merged,'GTC',manifest)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.