Skip to content

Commit 8a0fe22

Browse files
committed
fixed #251
1 parent 1680f41 commit 8a0fe22

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

build/mpnst/00_sample_gen.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,13 @@ sampTable<-manifest|>
4242
tidyr::unite(col='other_id',c('common_name','model_type'),sep=' ',remove=FALSE)
4343

4444

45+
pdxmt<-manifest|>
46+
dplyr::select(common_name='Sample',MicroTissueDrugFolder)|>
47+
dplyr::mutate(other_id_source='NF Data Portal',other_names='',cancer_type="Malignant peripheral nerve sheath tumor",species='Human',model_type='organoid')|>
48+
tidyr::unite(col='other_id',c('common_name','model_type'),sep=' ',remove=FALSE)
49+
4550
##third, generate a sample for the MTs if they were generated
46-
pdxmt<-subset(sampTable,!is.na(MicroTissueDrugFolder))
51+
#pdxmt<-subset(sampTable,!is.na(MicroTissueDrugFolder))
4752
pdxmt$model_type=rep('organoid',nrow(pdxmt))
4853
print(pdxmt)
4954

0 commit comments

Comments
 (0)