text
stringlengths
0
828
gene_set=gene_set)
tITH = normal_to_tumor_njsd / (normal_to_tumor_njsd + tumor_to_ambiguous_njsd)
with open(file, 'a') as outFile:
print(group, normal_to_tumor_njsd, tumor_to_ambiguous_njsd, tITH, sep='\t', file=outFile)"
4394,"def create_collection(cls, collection, **kwargs):
""""""Create Collection
Create a new Collection
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.create_collection(collection, async=True)
>>> result = thread.get()
:param async bool
:param Collection collection: Attributes of collection to create (required)
:return: Collection
If the method is called asynchronously,
returns the request thread.
""""""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return cls._create_collection_with_http_info(collection, **kwargs)
else:
(data) = cls._create_collection_with_http_info(collection, **kwargs)
return data"
4395,"def delete_collection_by_id(cls, collection_id, **kwargs):
""""""Delete Collection
Delete an instance of Collection by its ID.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.delete_collection_by_id(collection_id, async=True)
>>> result = thread.get()
:param async bool
:param str collection_id: ID of collection to delete. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
""""""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return cls._delete_collection_by_id_with_http_info(collection_id, **kwargs)
else:
(data) = cls._delete_collection_by_id_with_http_info(collection_id, **kwargs)
return data"
4396,"def get_collection_by_id(cls, collection_id, **kwargs):
""""""Find Collection
Return single instance of Collection by its ID.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_collection_by_id(collection_id, async=True)
>>> result = thread.get()
:param async bool
:param str collection_id: ID of collection to return (required)
:return: Collection
If the method is called asynchronously,
returns the request thread.
""""""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return cls._get_collection_by_id_with_http_info(collection_id, **kwargs)
else:
(data) = cls._get_collection_by_id_with_http_info(collection_id, **kwargs)
return data"
4397,"def list_all_collections(cls, **kwargs):
""""""List Collections
Return a list of Collections
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.list_all_collections(async=True)
>>> result = thread.get()
:param async bool
:param int page: page number
:param int size: page size
:param str sort: page order
:return: page[Collection]
If the method is called asynchronously,
returns the request thread.
""""""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return cls._list_all_collections_with_http_info(**kwargs)
else:
(data) = cls._list_all_collections_with_http_info(**kwargs)
return data"
4398,"def replace_collection_by_id(cls, collection_id, collection, **kwargs):
""""""Replace Collection
Replace all attributes of Collection
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.replace_collection_by_id(collection_id, collection, async=True)
>>> result = thread.get()